ppc4xx: Fix NAND booting targets after 4xx linker script consolidation
authorStefan Roese <sr@denx.de>
Mon, 9 Nov 2009 12:01:19 +0000 (13:01 +0100)
committerStefan Roese <sr@denx.de>
Mon, 9 Nov 2009 12:01:19 +0000 (13:01 +0100)
Somehow I missed the NAND booting targets in the 4xx linker script
consolidation patchset. This patch fixes this issue.

Signed-off-by: Stefan Roese <sr@denx.de>
board/amcc/acadia/config.mk
board/amcc/bamboo/config.mk
board/amcc/canyonlands/config.mk
board/amcc/kilauea/config.mk
board/amcc/sequoia/config.mk

index 290415c..01db41c 100644 (file)
@@ -34,3 +34,7 @@ endif
 ifeq ($(debug),1)
 PLATFORM_CPPFLAGS += -DDEBUG
 endif
+
+ifdef CONFIG_NAND_U_BOOT
+LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
+endif
index a37636a..72b6bc0 100644 (file)
@@ -36,3 +36,7 @@ endif
 ifeq ($(dbcr),1)
 PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8cff0000
 endif
+
+ifdef CONFIG_NAND_U_BOOT
+LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
+endif
index 551a817..7a58665 100644 (file)
@@ -39,3 +39,7 @@ endif
 ifeq ($(dbcr),1)
 PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8cff0000
 endif
+
+ifdef CONFIG_NAND_U_BOOT
+LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
+endif
index f5800eb..b3d3f22 100644 (file)
@@ -30,3 +30,7 @@ endif
 ifeq ($(debug),1)
 PLATFORM_CPPFLAGS += -DDEBUG
 endif
+
+ifdef CONFIG_NAND_U_BOOT
+LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
+endif
index 6c748c9..b57e473 100644 (file)
@@ -43,3 +43,7 @@ endif
 ifeq ($(dbcr),1)
 PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8cff0000
 endif
+
+ifdef CONFIG_NAND_U_BOOT
+LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
+endif