[PATCH] ARM: configs: imx_v7_defconfig: add missing RELOCATABLE

Lucas Stach l.stach at pengutronix.de
Fri Oct 2 07:23:19 EDT 2020


On Fr, 2020-10-02 at 13:14 +0200, Marco Felsch wrote:
> All barebox images should be relocatable per default. The user needs to
> turn of this option on purpose rather than turning it on. Currently this
> option was selected by selecting MACH_CCMX51. Deselecting this board
> support ended in deselecting CONFIG_RELOCATABLE.

Shouldn't this rather be selected by IMX_MULTI_BOARDS or soemthing
similar? Otherwise one would need to find a ARCH_TEXT_BASE compatible
with all the enabled boards, which is probably a bit too much config
hell to dump onto the users.

Regards,
Lucas

> Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
> ---
>  arch/arm/configs/imx_v7_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/configs/imx_v7_defconfig b/arch/arm/configs/imx_v7_defconfig
> index 5dcdff0638..c55df0357d 100644
> --- a/arch/arm/configs/imx_v7_defconfig
> +++ b/arch/arm/configs/imx_v7_defconfig
> @@ -208,3 +208,4 @@ CONFIG_FS_FAT_LFN=y
>  CONFIG_FS_UBIFS=y
>  CONFIG_FS_UBIFS_COMPRESSION_LZO=y
>  CONFIG_PNG=y
> +CONFIG_RELOCATABLE=y




More information about the barebox mailing list