diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2014-08-02 09:43:22 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-08-07 06:13:52 +0200 |
commit | 019a33dad4842b17cf4653cbec8b3425eabdf7d8 (patch) | |
tree | a3b96a18f1d672e34f945709ff7ebf4c27415143 /arch | |
parent | 97e81f2d78f30fb4936f0f6fe52b317d8dbc9881 (diff) | |
download | barebox-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')
-rw-r--r-- | arch/mips/lib/barebox.lds.S | 2 | ||||
-rw-r--r-- | arch/mips/pbl/zbarebox.lds.S | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S index 4ee4252b6d..c690e71976 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 3a26942b4c..a883fdb2db 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); |