summaryrefslogtreecommitdiff
path: root/nand_spl/board/amcc/sequoia
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-06-01 16:15:34 +0200
committerStefan Roese <sr@denx.de>2007-06-01 16:15:34 +0200
commitf3679aa13d9f483adb38245a87ecd5c84f57a5d3 (patch)
tree56099e57611527ba2460cd57f1f8af5c0b686a6e /nand_spl/board/amcc/sequoia
parent155a96478a0881e6da96cbbbcf34952d6a3b1b4b (diff)
parent9d9096043e8f713d4bf1743d32e1459e6a11644b (diff)
Merge with /home/stefan/git/u-boot/bamboo-nand
Diffstat (limited to 'nand_spl/board/amcc/sequoia')
-rw-r--r--nand_spl/board/amcc/sequoia/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/nand_spl/board/amcc/sequoia/Makefile b/nand_spl/board/amcc/sequoia/Makefile
index b42da8cf68..ec1be5a768 100644
--- a/nand_spl/board/amcc/sequoia/Makefile
+++ b/nand_spl/board/amcc/sequoia/Makefile
@@ -1,5 +1,5 @@
#
-# (C) Copyright 2006
+# (C) Copyright 2006-2007
# Stefan Roese, DENX Software Engineering, sr@denx.de.
#
# See file CREDITS for list of people who contributed to this
@@ -30,7 +30,7 @@ AFLAGS += -DCONFIG_NAND_SPL
CFLAGS += -DCONFIG_NAND_SPL
SOBJS = start.o init.o resetvec.o
-COBJS = nand_boot.o ndfc.o sdram.o
+COBJS = nand_boot.o nand_ecc.o ndfc.o sdram.o
SRCS := $(addprefix $(obj),$(SOBJS:.o=.S) $(COBJS:.o=.c))
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
@@ -85,6 +85,11 @@ $(obj)nand_boot.c:
@rm -f $(obj)nand_boot.c
ln -s $(SRCTREE)/nand_spl/nand_boot.c $(obj)nand_boot.c
+# from drivers/nand directory
+$(obj)nand_ecc.c:
+ @rm -f $(obj)nand_ecc.c
+ ln -s $(SRCTREE)/drivers/nand/nand_ecc.c $(obj)nand_ecc.c
+
#########################################################################
$(obj)%.o: $(obj)%.S