u-boot/arch/arm/mach-rockchip
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
..
px30 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk322x serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3036 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3128 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rk3188 treewide: fdt: Move fdt_get_config_... to ofnode_conf_read... 2021-09-25 09:46:15 -06:00
rk3288 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3308 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3328 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rk3368 WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
rk3399 treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
rk3568 treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
rv1108 dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
board.c ARM: fix LTO for rockchip and samsung 2021-05-24 14:21:30 -04:00
boot_mode.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bootrom.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
cpu-info.c rockchip: Separate the reset cause from display cpuinfo 2020-07-22 20:55:13 +08:00
Kconfig serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
make_fit_atf.py rockchip: make_fit_atf: ignore empty PT_LOAD segment 2020-09-16 16:41:30 +08:00
Makefile rockchip: Add rk3568 architecture core 2021-06-18 14:36:24 +08:00
misc.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
px30-board-tpl.c Remove #include <version.h> from files which do not need it 2021-09-17 12:10:44 -04:00
rk3036-board-spl.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
sdram.c lib: optee: remove the duplicate CONFIG_OPTEE 2021-10-05 08:44:48 -04:00
spl-boot-order.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl.c common: fit: Add weak board_fit_config_name_match 2021-04-14 15:23:01 -04:00
tpl.c Remove including timestamp.h in version.h 2021-09-17 12:10:44 -04:00
u-boot-tpl-v8.lds rockchip: add u-boot-tpl-v8.lds 2019-05-08 17:34:12 +08:00
u-boot-tpl.lds rockchip: rk322x: add tpl support 2019-05-08 17:34:12 +08:00