arm: imx: RELOCATABLE default yes on IMX_MULTI_BOARDS
PATCH 1/1 arm: imx: RELOCATABLE default yes on IMX_MULTI_BOARDS
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 <[email protected]>
--- common/Kconfig | 1 + 1 file changed, 1 insertion(+)
common/Kconfig +1 -0
@@ -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
Signature · 7 lines
2.26.2 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Hi Lars,
Quoted 13 lines · Lars Pedersen
Set relocatable to default yes when compiling for multiple i.MX boards, since setting a suitable
TEXT_BASEvalue across multiple boards is impossible.Signed-off-by Lars Pedersen <[email protected]>--- common/Kconfig | 1 + 1 file changed, 1 insertion(+)common/Kconfig +0
-0
common/Kconfig config KALLSYMS · line 352
Quoted 4 lines
common/Kconfig +1
-0@@ -349,6 +349,7 @@ config KALLSYMS config RELOCATABLE depends on PPC || ARM bool "generate relocatable barebox binary" + default y if IMX_MULTI_BOARDS
I would rather just select RELOCATABLE from IMX_MULTI_BOARDS. This makes it impossible to deselect RELOCATABLE for many boards, but I can't think of any valid case where this is really needed, at least not in mainline.
Sascha
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox