Skip to content
Snippets Groups Projects
Commit f25006b9 authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Tom Rini
Browse files

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: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: default avatarRyan Harkin <ryan.harkin@linaro.org>
parent 35499baf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment