u-boot/arch
Patrick Delaunay 51827f9a8b lib: optee: remove the duplicate CONFIG_OPTEE
The configuration CONFIG_OPTEE is defined 2 times:
1- in lib/optee/Kconfig for support of OPTEE images loaded by bootm command
2- in drivers/tee/optee/Kconfig for support of OP-TEE driver.

It is abnormal to have the same CONFIG define for 2 purpose;
and it is difficult to managed correctly their dependencies.

Moreover CONFIG_SPL_OPTEE is defined in common/spl/Kconfig
to manage OPTEE image load in SPL.

This definition causes an issue with the macro CONFIG_IS_ENABLED(OPTEE)
to test the availability of the OP-TEE driver.

This patch cleans the configuration dependency with:
- CONFIG_OPTEE_IMAGE (renamed) => support of OP-TEE image in U-Boot
- CONFIG_SPL_OPTEE_IMAGE (renamed) => support of OP-TEE image in SPL
- CONFIG_OPTEE (same) => support of OP-TEE driver in U-Boot
- CONFIG_OPTEE_LIB (new) => support of OP-TEE library

After this patch, the macro have the correct behavior:
- CONFIG_IS_ENABLED(OPTEE_IMAGE) => Load of OP-TEE image is supported
- CONFIG_IS_ENABLED(OPTEE) => OP-TEE driver is supported

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-10-05 08:44:48 -04:00
..
arc WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
arm lib: optee: remove the duplicate CONFIG_OPTEE 2021-10-05 08:44:48 -04:00
m68k WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
microblaze lmb: Switch to generic arch_lmb_reserve_generic() 2021-09-23 14:15:32 -04:00
mips WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
nds32 WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
nios2 lmb: nios2: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
powerpc ppc: Remove MPC8349EMDS board and ARCH_MPC8349 support 2021-10-01 21:08:19 -04:00
riscv lmb: riscv: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
sandbox WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
sh WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
x86 WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
xtensa WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
.gitignore
Kconfig Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00