summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-10-27 16:16:13 +0100
committerStefan Roese <sr@denx.de>2009-11-02 16:29:04 +0100
commitb1245dd3c6409c743f6c2768d00e909a4c8cc4ea (patch)
tree26efaa49a2c8a4eaf619c45375eea65d58f11f27
parentceaa62a6f0237a8ddd2a5f659e6535fcd054332f (diff)
downloadu-boot-imx-b1245dd3c6409c743f6c2768d00e909a4c8cc4ea.zip
u-boot-imx-b1245dd3c6409c743f6c2768d00e909a4c8cc4ea.tar.gz
u-boot-imx-b1245dd3c6409c743f6c2768d00e909a4c8cc4ea.tar.bz2
ppc4xx: Add custom linker script to board/*/config.mk
These boards have special linker scripts right now. We can't use the common 4xx linker script here. So overrride the linker script (LDSCRIPT) in board/*/config.mk and choose the board specific version. Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--board/amirix/ap1000/config.mk3
-rw-r--r--board/esd/dasa_sim/config.mk3
-rw-r--r--board/ml2/config.mk3
-rw-r--r--board/xilinx/ml300/config.mk3
4 files changed, 12 insertions, 0 deletions
diff --git a/board/amirix/ap1000/config.mk b/board/amirix/ap1000/config.mk
index c09783a..09c6efa 100644
--- a/board/amirix/ap1000/config.mk
+++ b/board/amirix/ap1000/config.mk
@@ -25,3 +25,6 @@
# like it's not in RAM. This is a bit of voodoo to allow it to be
# run from RAM instead of Flash.
TEXT_BASE = 0x08000000
+
+# Use board specific linker script
+LDSCRIPT := $(SRCTREE)/board/amirix/ap1000/u-boot.lds
diff --git a/board/esd/dasa_sim/config.mk b/board/esd/dasa_sim/config.mk
index ae855dc..4fe3774 100644
--- a/board/esd/dasa_sim/config.mk
+++ b/board/esd/dasa_sim/config.mk
@@ -21,3 +21,6 @@
# MA 02111-1307 USA
#
TEXT_BASE = 0xFFFC0000
+
+# Use board specific linker script
+LDSCRIPT := $(SRCTREE)/board/esd/dasa_sim/u-boot.lds
diff --git a/board/ml2/config.mk b/board/ml2/config.mk
index 41118d5..5e0bdae 100644
--- a/board/ml2/config.mk
+++ b/board/ml2/config.mk
@@ -27,3 +27,6 @@
#TEXT_BASE = 0xFFFE0000
TEXT_BASE = 0x18000000
+
+# Use board specific linker script
+LDSCRIPT := $(SRCTREE)/board/ml2/u-boot.lds
diff --git a/board/xilinx/ml300/config.mk b/board/xilinx/ml300/config.mk
index 57ddb2f..208a25ba 100644
--- a/board/xilinx/ml300/config.mk
+++ b/board/xilinx/ml300/config.mk
@@ -27,3 +27,6 @@
#TEXT_BASE = 0xFFFE0000
TEXT_BASE = 0x04000000
+
+# Use board specific linker script
+LDSCRIPT := $(SRCTREE)/board/xilinx/ml300/u-boot.lds