openrisc: move board linker script(s) to a common in cpu/
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Wed, 1 May 2013 09:32:46 +0000 (09:32 +0000)
committerTom Rini <trini@ti.com>
Fri, 10 May 2013 12:16:33 +0000 (08:16 -0400)
Unifies the openrisc boards linker scripts into a common one.

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
arch/openrisc/config.mk
arch/openrisc/cpu/u-boot.lds [moved from board/openrisc/openrisc-generic/u-boot.lds with 100% similarity]

index 521e73a..01c0f77 100644 (file)
@@ -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