summaryrefslogtreecommitdiff
path: root/board/openrisc
diff options
context:
space:
mode:
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>2013-05-01 09:32:46 +0000
committerTom Rini <trini@ti.com>2013-05-10 08:16:33 -0400
commitecd7484b9b347f7a5ab33efdd53347f0a2030797 (patch)
treed5a004bf75775af9a4be9716bb8770323f38104d /board/openrisc
parent16c5e5b9c40633d494c1d43b35b7493336dc2a49 (diff)
downloadu-boot-imx-ecd7484b9b347f7a5ab33efdd53347f0a2030797.zip
u-boot-imx-ecd7484b9b347f7a5ab33efdd53347f0a2030797.tar.gz
u-boot-imx-ecd7484b9b347f7a5ab33efdd53347f0a2030797.tar.bz2
openrisc: move board linker script(s) to a common in cpu/
Unifies the openrisc boards linker scripts into a common one. Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Diffstat (limited to 'board/openrisc')
-rw-r--r--board/openrisc/openrisc-generic/u-boot.lds77
1 files changed, 0 insertions, 77 deletions
diff --git a/board/openrisc/openrisc-generic/u-boot.lds b/board/openrisc/openrisc-generic/u-boot.lds
deleted file mode 100644
index d9bb7b7..0000000
--- a/board/openrisc/openrisc-generic/u-boot.lds
+++ /dev/null
@@ -1,77 +0,0 @@
-#include <config.h>
-OUTPUT_ARCH(or32)
-__DYNAMIC = 0;
-
-MEMORY
-{
- vectors : ORIGIN = 0, LENGTH = 0x2000
- ram : ORIGIN = CONFIG_SYS_MONITOR_BASE,
- LENGTH = CONFIG_SYS_MONITOR_LEN
-}
-
-SECTIONS
-{
- .vectors :
- {
- *(.vectors)
- } > vectors
-
- __start = .;
- .text : AT (__start) {
- _stext = .;
- *(.text)
- _etext = .;
- *(.lit)
- *(.shdata)
- _endtext = .;
- } > ram
-
-
- . = ALIGN(4);
- .u_boot_list : {
- KEEP(*(SORT(.u_boot_list*)));
- } > ram
-
- .rodata : {
- *(.rodata);
- *(.rodata.*)
- } > ram
-
- .shbss :
- {
- *(.shbss)
- } > ram
-
- .talias :
- {
- } > ram
-
- .data : {
- sdata = .;
- _sdata = .;
- *(.data)
- edata = .;
- _edata = .;
- } > ram
-
- .bss :
- {
- _bss_start = .;
- *(.bss)
- *(COMMON)
- _bss_end = .;
- } > ram
- __end = .;
-
- /* No stack specification - done manually */
-
- .stab 0 (NOLOAD) :
- {
- [ .stab ]
- }
-
- .stabstr 0 (NOLOAD) :
- {
- [ .stabstr ]
- }
-}