summaryrefslogtreecommitdiff
path: root/nand_spl/board/amcc
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-01-04 12:00:01 +0100
committerStefan Roese <sr@denx.de>2008-01-04 12:00:01 +0100
commitfe9c26b330a21ce73e52b5bd347d725cb81e3cfb (patch)
tree7262953cf5c27ccec60a5d8a91811faa95509d16 /nand_spl/board/amcc
parent0ddd969aec532bd7eae30fc09590488a3aaa629a (diff)
downloadu-boot-imx-fe9c26b330a21ce73e52b5bd347d725cb81e3cfb.zip
u-boot-imx-fe9c26b330a21ce73e52b5bd347d725cb81e3cfb.tar.gz
u-boot-imx-fe9c26b330a21ce73e52b5bd347d725cb81e3cfb.tar.bz2
ppc4xx: Fix Sequoia NAND booting target
The Sequoia NAND booting target now uses the recently extracted cpu/ppc4xx/denali_data_eye.c file too. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'nand_spl/board/amcc')
-rw-r--r--nand_spl/board/amcc/sequoia/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/nand_spl/board/amcc/sequoia/Makefile b/nand_spl/board/amcc/sequoia/Makefile
index 78bf071..dfa0ce3 100644
--- a/nand_spl/board/amcc/sequoia/Makefile
+++ b/nand_spl/board/amcc/sequoia/Makefile
@@ -30,7 +30,7 @@ AFLAGS += -DCONFIG_NAND_SPL
CFLAGS += -DCONFIG_NAND_SPL
SOBJS = start.o init.o resetvec.o
-COBJS = nand_boot.o nand_ecc.o ndfc.o sdram.o
+COBJS = denali_data_eye.o nand_boot.o nand_ecc.o ndfc.o sdram.o
SRCS := $(addprefix $(obj),$(SOBJS:.o=.S) $(COBJS:.o=.c))
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
@@ -57,6 +57,10 @@ $(nandobj)u-boot-spl: $(OBJS)
# create symbolic links for common files
# from cpu directory
+$(obj)denali_data_eye.c:
+ @rm -f $(obj)denali_data_eye.c
+ ln -s $(SRCTREE)/cpu/ppc4xx/denali_data_eye.c $(obj)denali_data_eye.c
+
$(obj)ndfc.c:
@rm -f $(obj)ndfc.c
ln -s $(SRCTREE)/cpu/ppc4xx/ndfc.c $(obj)ndfc.c