[PATCH] barebox_imd: Add IMD sections to mpc-85xx.

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Jan 26 06:45:51 PST 2024


On 26.01.24 08:52, Christian Melki wrote:
> Seems PowerPC in general is missing the IMD sections.
> Placement might be suboptimal, please correct if so.
> 
> Signed-off-by: Christian Melki <christian.melki at t2data.com>

I think this looks ok.

Acked-by: Ahmad Fatoum <a.fatoum at pengutronix.de>

> ---
>  arch/powerpc/mach-mpc85xx/barebox.lds.S | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/powerpc/mach-mpc85xx/barebox.lds.S b/arch/powerpc/mach-mpc85xx/barebox.lds.S
> index 764854a860..6e348d4db3 100644
> --- a/arch/powerpc/mach-mpc85xx/barebox.lds.S
> +++ b/arch/powerpc/mach-mpc85xx/barebox.lds.S
> @@ -68,6 +68,8 @@ SECTIONS
>      PROVIDE (etext = .);
>      _sdata = .;
>  
> +   .barebox_imd : { BAREBOX_IMD }
> +
>     .rodata    :
>     {
>      *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))

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




More information about the barebox mailing list