diff options
author | David Vincent <freesilicon@gmail.com> | 2014-02-04 08:53:15 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-09 09:43:33 +0100 |
commit | 34ab8ddd04ae08e8bca6d277b4f692f4f303c20d (patch) | |
tree | c1fc055f0d106c049fd05a9ba4ebc25702d962ea /arch/arm/lib/pbl.lds.S | |
parent | 4f2f9150b748f278a02c7874e9fc3fd026082581 (diff) | |
download | barebox-34ab8ddd04ae08e8bca6d277b4f692f4f303c20d.tar.gz barebox-34ab8ddd04ae08e8bca6d277b4f692f4f303c20d.tar.xz |
Load PBL into SRAM
This allows to load all the lowlevel init code, including the
uncompressor, inside SRAM and not just the bare init part. This is
useful when pbl is used as a first-stage bootloader but is loaded by an
external firmware.
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/lib/pbl.lds.S')
-rw-r--r-- | arch/arm/lib/pbl.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/lib/pbl.lds.S b/arch/arm/lib/pbl.lds.S index 0954c89ce4..d7a3cc5229 100644 --- a/arch/arm/lib/pbl.lds.S +++ b/arch/arm/lib/pbl.lds.S @@ -54,6 +54,7 @@ SECTIONS /DISCARD/ : { *(.ARM.ex*) } BAREBOX_BARE_INIT_SIZE + BAREBOX_PBL_SIZE . = ALIGN(4); .rodata : { *(.rodata*) } |