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

login
register
mail settings
Submitter Stefan Kristiansson
Date May 1, 2013, 7:32 p.m.
Message ID <1367436766-32382-3-git-send-email-stefan.kristiansson@saunalahti.fi>
Download mbox | patch
Permalink /patch/240805/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Stefan Kristiansson - May 1, 2013, 7:32 p.m.
Unifies the openrisc boards linker scripts into a common one.

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@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/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

Patch

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