summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-08-02 09:43:22 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-08-07 06:13:52 +0200
commit019a33dad4842b17cf4653cbec8b3425eabdf7d8 (patch)
treea3b96a18f1d672e34f945709ff7ebf4c27415143 /arch/mips
parent97e81f2d78f30fb4936f0f6fe52b317d8dbc9881 (diff)
downloadbarebox-019a33dad4842b17cf4653cbec8b3425eabdf7d8.tar.gz
barebox-019a33dad4842b17cf4653cbec8b3425eabdf7d8.tar.xz
MIPS: add support for metadata in barebox images
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/lib/barebox.lds.S2
-rw-r--r--arch/mips/pbl/zbarebox.lds.S2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S
index 4ee4252b6..c690e7197 100644
--- a/arch/mips/lib/barebox.lds.S
+++ b/arch/mips/lib/barebox.lds.S
@@ -49,6 +49,8 @@ SECTIONS
. = ALIGN(4);
.data : { *(.data*) }
+ .barebox_imd : { BAREBOX_IMD }
+
. = ALIGN(4);
.got : { *(.got*) }
diff --git a/arch/mips/pbl/zbarebox.lds.S b/arch/mips/pbl/zbarebox.lds.S
index 3a26942b4..a883fdb2d 100644
--- a/arch/mips/pbl/zbarebox.lds.S
+++ b/arch/mips/pbl/zbarebox.lds.S
@@ -44,6 +44,8 @@ SECTIONS
. = ALIGN(4);
.rodata : { *(.rodata*) }
+ .barebox_imd : { BAREBOX_IMD }
+
_etext = .; /* End of text and rodata section */
. = ALIGN(4);