summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPatrick Delaunay <[email protected]>2021-09-02 11:56:17 +0200
committerTom Rini <[email protected]>2021-10-05 08:44:48 -0400
commit4f53ac2adbc0f4d3bfebee1b414870e228469989 (patch)
treee5c87fdaad364c2a78df4875fce1da3809f91b2d /arch
parent51827f9a8be3def01b837a2809094e2fd2703b6a (diff)
tee: add a stub for tee_find_device
Add stub for tee_find_device function when CONFIG_TEE is not activated to simplify the caller code. This patch allows to remove the CONFIG_IS_ENABLED(OPTEE) tests for stm32 platform. Signed-off-by: Patrick Delaunay <[email protected]> Acked-by: Etienne Carriere <[email protected]> Reviewed-by: Jens Wiklander <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-stm32mp/fdt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/fdt.c b/arch/arm/mach-stm32mp/fdt.c
index a19e954cf7a..91330a68a49 100644
--- a/arch/arm/mach-stm32mp/fdt.c
+++ b/arch/arm/mach-stm32mp/fdt.c
@@ -341,7 +341,6 @@ int ft_system_setup(void *blob, struct bd_info *bd)
* when FIP is not used by TF-A
*/
if (CONFIG_IS_ENABLED(STM32MP15x_STM32IMAGE) &&
- CONFIG_IS_ENABLED(OPTEE) &&
!tee_find_device(NULL, NULL, NULL, NULL))
stm32_fdt_disable_optee(blob);