summaryrefslogtreecommitdiff
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
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>
-rw-r--r--arch/openrisc/config.mk2
-rw-r--r--arch/openrisc/cpu/u-boot.lds (renamed from board/openrisc/openrisc-generic/u-boot.lds)0
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/openrisc/config.mk b/arch/openrisc/config.mk
index 521e73a..01c0f77 100644
--- a/arch/openrisc/config.mk
+++ b/arch/openrisc/config.mk
@@ -25,3 +25,5 @@ CROSS_COMPILE ?= or32-elf-
PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10
CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
+
+LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
diff --git a/board/openrisc/openrisc-generic/u-boot.lds b/arch/openrisc/cpu/u-boot.lds
index d9bb7b7..d9bb7b7 100644
--- a/board/openrisc/openrisc-generic/u-boot.lds
+++ b/arch/openrisc/cpu/u-boot.lds