mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
51827f9a8b
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> |
||
---|---|---|
.. | ||
px30 | ||
rk322x | ||
rk3036 | ||
rk3128 | ||
rk3188 | ||
rk3288 | ||
rk3308 | ||
rk3328 | ||
rk3368 | ||
rk3399 | ||
rk3568 | ||
rv1108 | ||
board.c | ||
boot_mode.c | ||
bootrom.c | ||
cpu-info.c | ||
Kconfig | ||
make_fit_atf.py | ||
Makefile | ||
misc.c | ||
px30-board-tpl.c | ||
rk3036-board-spl.c | ||
sdram.c | ||
spl-boot-order.c | ||
spl.c | ||
tpl.c | ||
u-boot-tpl-v8.lds | ||
u-boot-tpl.lds |