aboutsummaryrefslogtreecommitdiff
path: root/include/configs/warp7.h
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2018-04-24 18:46:37 +0100
committerStefano Babic <sbabic@denx.de>2018-04-26 08:52:51 +0200
commit4bcbfcf458744a84bd82bd7239593f371574bd2c (patch)
treed0fad8fc8af1338cc4ed4f86388e652ef459f7d1 /include/configs/warp7.h
parentfbbf44af318b20b61658d2461ff858d5134aa3f5 (diff)
downloadu-boot-4bcbfcf458744a84bd82bd7239593f371574bd2c.zip
u-boot-4bcbfcf458744a84bd82bd7239593f371574bd2c.tar.gz
u-boot-4bcbfcf458744a84bd82bd7239593f371574bd2c.tar.bz2
warp7: Specify CONFIG_OPTEE_LOAD_ADDR
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. This patch makes the OPTEE_LOAD_ADDR available via u-boot.cfg for further parsing by external tools. 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/warp7.h')
-rw-r--r--include/configs/warp7.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index 10db716..e12b90b 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -40,6 +40,7 @@
"initrd_high=0xffffffff\0" \
"fdt_file=imx7s-warp.dtb\0" \
"fdt_addr=0x83000000\0" \
+ "optee_addr=" __stringify(CONFIG_OPTEE_LOAD_ADDR)"\0" \
"boot_fdt=try\0" \
"ip_dyn=yes\0" \
"mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \