summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2018-04-24 20:46:40 +0300
committerStefano Babic <sbabic@denx.de>2018-04-26 09:53:22 +0300
commit56eca404e1dc7aed65fb5268826eba1c548434ae (patch)
tree455b12f078654c2dab2707cfed7e3f35e1118608 /include/configs
parent42fcabdb26ca009db7cda97b3199fc57105377b3 (diff)
downloadu-boot-56eca404e1dc7aed65fb5268826eba1c548434ae.tar.xz
warp7: Make CONFIG_SYS_FDT_ADDR a define
In order to sign images with the IMX code-signing-tool (CST) we need to know the load address of a given image. The best way to derive this load address is to make it into a define - so that u-boot.cfg contains the address - which we can then parse when generating the IMX CST headers. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org> Tested-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/warp7.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index e12b90bc16..344042c9b3 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -39,7 +39,7 @@
"fdt_high=0xffffffff\0" \
"initrd_high=0xffffffff\0" \
"fdt_file=imx7s-warp.dtb\0" \
- "fdt_addr=0x83000000\0" \
+ "fdt_addr=" __stringify(CONFIG_SYS_FDT_ADDR)"\0" \
"optee_addr=" __stringify(CONFIG_OPTEE_LOAD_ADDR)"\0" \
"boot_fdt=try\0" \
"ip_dyn=yes\0" \