mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] arm: imx: RELOCATABLE default yes on IMX_MULTI_BOARDS
@ 2020-08-17 11:03 Lars Pedersen
  2020-08-19  6:45 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Pedersen @ 2020-08-17 11:03 UTC (permalink / raw)
  To: barebox; +Cc: a.fatoum, Lars Pedersen

Set relocatable to default yes when compiling for multiple i.MX boards,
since setting a suitable TEXT_BASE value across multiple boards is impossible.

Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/Kconfig b/common/Kconfig
index 658437f01..c37339793 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -349,6 +349,7 @@ config KALLSYMS
 config RELOCATABLE
 	depends on PPC || ARM
 	bool "generate relocatable barebox binary"
+	default y if IMX_MULTI_BOARDS
 	help
 	  A non relocatable barebox binary will run at it's compiled in
 	  link address in RAM. This leads to smaller image sizes but may
-- 
2.26.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2020-08-19  6:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-17 11:03 [PATCH] arm: imx: RELOCATABLE default yes on IMX_MULTI_BOARDS Lars Pedersen
2020-08-19  6:45 ` Sascha Hauer

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