[U-Boot] [PATCH 2/2] openrisc: move board linker script(s) to a common in cpu/

Stefan Kristiansson stefan.kristiansson at saunalahti.fi
Wed May 1 21:32:46 CEST 2013


Unifies the openrisc boards linker scripts into a common one.

Signed-off-by: Stefan Kristiansson <stefan.kristiansson at saunalahti.fi>
---
 arch/openrisc/config.mk                                           | 2 ++
 {board/openrisc/openrisc-generic => arch/openrisc/cpu}/u-boot.lds | 0
 2 files changed, 2 insertions(+)
 rename {board/openrisc/openrisc-generic => arch/openrisc/cpu}/u-boot.lds (100%)

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
similarity index 100%
rename from board/openrisc/openrisc-generic/u-boot.lds
rename to arch/openrisc/cpu/u-boot.lds
-- 
1.8.1.2



More information about the U-Boot mailing list