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

Christian Melki christian.melki at t2data.com
Thu Jan 25 23:52:31 PST 2024


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>
---
 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*)))
-- 
2.34.1




More information about the barebox mailing list