summaryrefslogtreecommitdiff
path: root/include/configs/warp7.h
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2019-05-08 21:14:48 +0300
committerStefano Babic <sbabic@denx.de>2019-07-19 16:21:55 +0300
commit2528a666aea244b20abf7b387039b10b1d8c2d76 (patch)
treeee9d7d1aff4e0958a61f1422f52be3b83f705f28 /include/configs/warp7.h
parent66a15495b36fec920c8ee556df6819700d8ed31a (diff)
downloadu-boot-2528a666aea244b20abf7b387039b10b1d8c2d76.tar.xz
warp7: Specify a default CONFIG_OPTEE_LOAD_ADDR if non provided
If no CONFIG_OPTEE_LOAD_ADDR is provided i.e. you are not loading OPTEE into memory in u-boot, then just set the non-existent CONFIG option to zero, elsewise stringify(CONFIG_OPTEE_LOAD_ADDR) will return "CONFIG_OPTEE_LOAD_ADDR" - which looks weird in the u-boot environment. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Diffstat (limited to 'include/configs/warp7.h')
-rw-r--r--include/configs/warp7.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index 358941e449..73541fe176 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -34,6 +34,10 @@
#define BOOT_SCR_STRING "source ${bootscriptaddr}\0"
#endif
+#ifndef CONFIG_OPTEE_LOAD_ADDR
+#define CONFIG_OPTEE_LOAD_ADDR 0
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_DFU_ENV_SETTINGS \
"script=boot.scr\0" \