mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2] arm: imx: Select RELOCATABLE on IMX_MULTI_BOARDS
@ 2020-08-20 13:07 Lars Pedersen
  2020-08-24  7:04 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Pedersen @ 2020-08-20 13:07 UTC (permalink / raw)
  To: barebox; +Cc: a.fatoum, Lars Pedersen

Depend on RELOCATABLE 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>
---
 arch/arm/mach-imx/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 2e8d2bd56..0fffde46e 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -215,6 +215,7 @@ config ARCH_VF610
 config IMX_MULTI_BOARDS
 	bool "Allow multiple boards to be selected"
 	select HAVE_PBL_MULTI_IMAGES
+	select RELOCATABLE
 
 if IMX_MULTI_BOARDS
 
-- 
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

* Re: [PATCH v2] arm: imx: Select RELOCATABLE on IMX_MULTI_BOARDS
  2020-08-20 13:07 [PATCH v2] arm: imx: Select RELOCATABLE on IMX_MULTI_BOARDS Lars Pedersen
@ 2020-08-24  7:04 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2020-08-24  7:04 UTC (permalink / raw)
  To: Lars Pedersen; +Cc: barebox, a.fatoum

On Thu, Aug 20, 2020 at 03:07:31PM +0200, Lars Pedersen wrote:
> Depend on RELOCATABLE 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>
> ---
>  arch/arm/mach-imx/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index 2e8d2bd56..0fffde46e 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -215,6 +215,7 @@ config ARCH_VF610
>  config IMX_MULTI_BOARDS
>  	bool "Allow multiple boards to be selected"
>  	select HAVE_PBL_MULTI_IMAGES
> +	select RELOCATABLE
>  
>  if IMX_MULTI_BOARDS
>  
> -- 
> 2.26.2
> 
> 

-- 
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
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-24  7:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20 13:07 [PATCH v2] arm: imx: Select RELOCATABLE on IMX_MULTI_BOARDS Lars Pedersen
2020-08-24  7:04 ` Sascha Hauer

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