summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-08-26 15:10:49 -0400
committerTom Rini <trini@konsulko.com>2017-08-26 15:10:49 -0400
commitbd95e655b2a42a2c8fe649ffae3dfec27eab5759 (patch)
tree8893a53fb5b4ca251f467d7a6051757f1370ee81 /arch
parentf72b96ec8f7a7b2e2952333c00d907cf0fd726a3 (diff)
parentf40ad66fa066c7eacbcbb11c2e2f251bb82426e0 (diff)
Merge git://git.denx.de/u-boot-sh
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/cpu/u-boot.lds9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/sh/cpu/u-boot.lds b/arch/sh/cpu/u-boot.lds
index 7fc91bc4aa..2f2bdb5b83 100644
--- a/arch/sh/cpu/u-boot.lds
+++ b/arch/sh/cpu/u-boot.lds
@@ -9,7 +9,12 @@
#include "config.h"
+#ifdef CONFIG_SYS_BIG_ENDIAN
+OUTPUT_FORMAT("elf32-shbig-linux", "elf32-shbig-linux", "elf32-sh-linux")
+#else
OUTPUT_FORMAT("elf32-sh-linux", "elf32-sh-linux", "elf32-sh-linux")
+#endif
+
OUTPUT_ARCH(sh)
MEMORY
@@ -33,10 +38,6 @@ SECTIONS
KEEP(CONFIG_BOARDDIR/lowlevel_init.o (.text .spiboot1.text))
KEEP(*(.spiboot2.text))
. = ALIGN(8192);
- env/embedded.o (.ppcenv)
- . = ALIGN(8192);
- env/embedded.o (.ppcenvr)
- . = ALIGN(8192);
*(.text)
. = ALIGN(4);
} >ram =0xFF