[PATCH] ARM: rockchip: Add missing LIBFDT dependency to ARCH_ROCKCHIP_ATF_PASS_FDT

Robin van der Gracht robin.van.der.gracht at protonic.nl
Wed Mar 4 05:14:16 PST 2026


From: Robin van der Gracht <robin at protonic.nl>

arch/arm/mach-rockchip/atf.pbl.o: in function `rk3562_barebox_entry':
arch/arm/mach-rockchip/atf.c:159: undefined reference to `fdt_open_into'

Signed-off-by: Robin van der Gracht <robin at protonic.nl>
---
 arch/arm/mach-rockchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index eb0dfb8240..eae243c758 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -179,6 +179,7 @@ config ARCH_ROCKCHIP_ATF
 config ARCH_ROCKCHIP_ATF_PASS_FDT
 	bool "Pass device tree to TF-A"
 	depends on ARCH_ROCKCHIP_ATF
+	select LIBFDT
 	help
 	  Enable this option if you are using an upstream OP-TEE that uses the
 	  device tree to initialize dynamic shared memory, which is passed
-- 
2.43.0




More information about the barebox mailing list