summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorChristian Melki <christian.melki@t2data.com>2024-01-26 08:52:31 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-01-29 11:19:37 +0100
commit0b94be2390ec2e58e77d103a890a91008b4c4ddf (patch)
treeb8ba2c80e0cd7e03d14ce5dbd3c766e917ed84ed /arch/powerpc
parent305b65c2f950d4789d7877c6187d083c4d0c148e (diff)
downloadbarebox-0b94be2390ec2e58e77d103a890a91008b4c4ddf.tar.gz
barebox-0b94be2390ec2e58e77d103a890a91008b4c4ddf.tar.xz
barebox_imd: Add IMD sections to mpc-85xx.
Seems PowerPC in general is missing the IMD sections. Placement might be suboptimal, please correct if so. Signed-off-by: Christian Melki <christian.melki@t2data.com> Acked-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20240126075231.1285729-1-christian.melki@t2data.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/mach-mpc85xx/barebox.lds.S2
1 files changed, 2 insertions, 0 deletions
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*)))