mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] pbl: make PBL_FULLY_PIC specific to ARM64
@ 2024-03-06 19:39 Ahmad Fatoum
  2024-03-08  7:08 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-03-06 19:39 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] pbl: make PBL_FULLY_PIC specific to ARM64
  2024-03-06 19:39 [PATCH] pbl: make PBL_FULLY_PIC specific to ARM64 Ahmad Fatoum
@ 2024-03-08  7:08 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-03-08  7:08 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Wed, 06 Mar 2024 20:39:24 +0100, Ahmad Fatoum wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/1] pbl: make PBL_FULLY_PIC specific to ARM64
      https://git.pengutronix.de/cgit/barebox/commit/?id=32da0a9de977 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-08  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-06 19:39 [PATCH] pbl: make PBL_FULLY_PIC specific to ARM64 Ahmad Fatoum
2024-03-08  7:08 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox