summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2017-09-28 12:26:18 +0100
committerBryan O'Donoghue <bryan.odonoghue@linaro.org>2017-10-09 15:44:05 +0100
commit7c5db688fe0f2f16e001d1e51739dfd415dbd62c (patch)
tree52ba3a6b7281db99cd604856ad26f082557f6105
parent3a09b557004685e8a5282f5a78c548ca87ddfd50 (diff)
optee: Add CONFIG_OPTEE_LOAD_ADDR
CONFIG_OPTEE_LOAD_ADDR is used to tell u-boot where to load the OPTEE binary into memory prior to handing off control to OPTEE. We need to pull this value out of u-boot in order to produce an IMX IVT/CSF signed pair for the purposes of secure boot. The best way to do that is to have CONFIG_OPTEE_LOAD_ADDR appear in u-boot.cfg. Adding new CONFIG entires to u-boot should be kconfig driven so this patch does just that. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r--lib/optee/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/optee/Kconfig b/lib/optee/Kconfig
index 41c0ab71b1..5ad5ed23f6 100644
--- a/lib/optee/Kconfig
+++ b/lib/optee/Kconfig
@@ -7,6 +7,12 @@ config OPTEE
OPTEE specific checks before booting an OPTEE image created with
mkimage.
+config OPTEE_LOAD_ADDR
+ hex "OPTEE load address"
+ default 0x00000000
+ help
+ The load address of the bootable OPTEE binary.
+
config OPTEE_TZDRAM_SIZE
hex "Amount of Trust-Zone RAM for the OPTEE image"
depends on OPTEE