[PATCH] pbl: make PBL_FULLY_PIC specific to ARM64

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Mar 6 11:39:24 PST 2024


This has only been tested on ARM64 so far and quick test on a
Raspberry Pi 3 Model B in 32-bit mode hangs, so mark this
ARM64-specific for now.

CPU_64 implies ARM already, but we list both anyway for documentation
purposes.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 pbl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbl/Kconfig b/pbl/Kconfig
index 669a49a530a2..d1877a988d21 100644
--- a/pbl/Kconfig
+++ b/pbl/Kconfig
@@ -48,7 +48,7 @@ config PBL_RELOCATABLE
 
 config PBL_FULLY_PIC
 	bool "fully position-independent pbl image"
-	depends on PBL_RELOCATABLE && ARM
+	depends on PBL_RELOCATABLE && ARM && CPU_64
 	help
 	  Compared to CONFIG_PBL_RELOCATABLE, this image has no relocations in
 	  the code sections.
-- 
2.39.2




More information about the barebox mailing list