From 56f9b39d1f5d3c51e4b19792adb65bd93a8b6fcb Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Mon, 9 Nov 2009 13:01:19 +0100 Subject: ppc4xx: Fix NAND booting targets after 4xx linker script consolidation Somehow I missed the NAND booting targets in the 4xx linker script consolidation patchset. This patch fixes this issue. Signed-off-by: Stefan Roese --- board/amcc/acadia/config.mk | 4 ++++ board/amcc/bamboo/config.mk | 4 ++++ board/amcc/canyonlands/config.mk | 4 ++++ board/amcc/kilauea/config.mk | 4 ++++ board/amcc/sequoia/config.mk | 4 ++++ 5 files changed, 20 insertions(+) (limited to 'board/amcc') diff --git a/board/amcc/acadia/config.mk b/board/amcc/acadia/config.mk index 290415c9d..01db41c37 100644 --- a/board/amcc/acadia/config.mk +++ b/board/amcc/acadia/config.mk @@ -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 diff --git a/board/amcc/bamboo/config.mk b/board/amcc/bamboo/config.mk index a37636a0a..72b6bc0c0 100644 --- a/board/amcc/bamboo/config.mk +++ b/board/amcc/bamboo/config.mk @@ -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 diff --git a/board/amcc/canyonlands/config.mk b/board/amcc/canyonlands/config.mk index 551a81755..7a5866550 100644 --- a/board/amcc/canyonlands/config.mk +++ b/board/amcc/canyonlands/config.mk @@ -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 diff --git a/board/amcc/kilauea/config.mk b/board/amcc/kilauea/config.mk index f5800ebe8..b3d3f227f 100644 --- a/board/amcc/kilauea/config.mk +++ b/board/amcc/kilauea/config.mk @@ -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 diff --git a/board/amcc/sequoia/config.mk b/board/amcc/sequoia/config.mk index 6c748c914..b57e473e4 100644 --- a/board/amcc/sequoia/config.mk +++ b/board/amcc/sequoia/config.mk @@ -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 -- cgit v1.2.3