]> git.dujemihanovic.xyz Git - u-boot.git/commit
tee: add a stub for tee_find_device
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 2 Sep 2021 09:56:17 +0000 (11:56 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 5 Oct 2021 12:44:48 +0000 (08:44 -0400)
commit4f53ac2adbc0f4d3bfebee1b414870e228469989
treee5c87fdaad364c2a78df4875fce1da3809f91b2d
parent51827f9a8be3def01b837a2809094e2fd2703b6a
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 <patrick.delaunay@foss.st.com>
Acked-by: Etienne Carriere <etienne.carriere@inaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
arch/arm/mach-stm32mp/fdt.c
board/st/common/stm32mp_mtdparts.c
include/tee.h