]> git.dujemihanovic.xyz Git - u-boot.git/commit
optee: Add CONFIG_OPTEE_LOAD_ADDR
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 13 Mar 2018 16:50:30 +0000 (16:50 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 19 Mar 2018 20:14:24 +0000 (16:14 -0400)
commitf25006b96e9f6b9b8688ec8e4bc8a87dc1f1479d
tree62e6d6ae10cf7f8f104c348ed89e9f0da7f1cf69
parent35499baf3b3c6b9e5e9df0ed676a2cdae131946a
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>
lib/optee/Kconfig