[PATCH v2 8/8] PBL: enable LIBFDT for OP-TEE early loading

Rouven Czerwinski r.czerwinski at pengutronix.de
Tue Aug 3 02:44:18 PDT 2021


This allows the OP-TEE early loaded board to add the reserved memory
entries for the correct MMU setup. This is done by including pbl/fdt.h
and using fdt_fill_reserve_mem().

Signed-off-by: Rouven Czerwinski <r.czerwinski at pengutronix.de>
---
 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/Kconfig b/common/Kconfig
index a9feae2ae8..4f7a08bc8f 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1116,6 +1116,7 @@ config BOOTM_OPTEE
 
 config PBL_OPTEE
 	bool "Enable OP-TEE early start"
+	select LIBFDT
 	depends on ARM
 	depends on !THUMB2_BAREBOX
 	help
-- 
2.32.0




More information about the barebox mailing list