summaryrefslogtreecommitdiff
path: root/nand_spl/board/davinci/da8xxevm
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-09-09 03:09:02 +0000
committerWolfgang Denk <wd@denx.de>2011-09-10 16:12:55 +0200
commit5fb5e8c5e75f9e4ee26ee0ecbf67854b63964bc1 (patch)
treeee04a647352ca29e8f54f7139378db5e010b75a5 /nand_spl/board/davinci/da8xxevm
parent1e8ff7145c6be51f295d8e235472a6455aee1ac3 (diff)
downloadu-boot-imx-5fb5e8c5e75f9e4ee26ee0ecbf67854b63964bc1.zip
u-boot-imx-5fb5e8c5e75f9e4ee26ee0ecbf67854b63964bc1.tar.gz
u-boot-imx-5fb5e8c5e75f9e4ee26ee0ecbf67854b63964bc1.tar.bz2
ARM: hawkboard_nand: fix compilation of nand_spl
get_ram_size() is called, but memsize.c is not compiled. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'nand_spl/board/davinci/da8xxevm')
-rw-r--r--nand_spl/board/davinci/da8xxevm/Makefile21
1 files changed, 18 insertions, 3 deletions
diff --git a/nand_spl/board/davinci/da8xxevm/Makefile b/nand_spl/board/davinci/da8xxevm/Makefile
index b3f4bd6..accf716 100644
--- a/nand_spl/board/davinci/da8xxevm/Makefile
+++ b/nand_spl/board/davinci/da8xxevm/Makefile
@@ -36,9 +36,20 @@ LDFLAGS := -T $(nandobj)u-boot.lds -Ttext $(CONFIG_SYS_TEXT_BASE) $(LDFLAGS) \
AFLAGS += -DCONFIG_SPL_BUILD -DCONFIG_NAND_SPL
CFLAGS += -DCONFIG_SPL_BUILD -DCONFIG_NAND_SPL
-SOBJS = start.o _udivsi3.o _divsi3.o
-COBJS = cpu.o davinci_nand.o ns16550.o div0.o davinci_pinmux.o psc.o \
- misc.o hawkboard_nand_spl.o nand_boot.o
+SOBJS = _divsi3.o \
+ _udivsi3.o \
+ start.o
+
+COBJS = cpu.o \
+ davinci_nand.o \
+ davinci_pinmux.o \
+ div0.o \
+ hawkboard_nand_spl.o \
+ memsize.o \
+ misc.o \
+ nand_boot.o \
+ ns16550.o \
+ psc.o
SRCS := $(addprefix $(obj),$(SOBJS:.o=.S) $(COBJS:.o=.c))
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
@@ -125,6 +136,10 @@ $(obj)psc.c:
@rm -f $@
ln -s $(TOPDIR)/arch/arm/cpu/arm926ejs/davinci/psc.c $@
+# from common directory
+$(obj)memsize.c:
+ @rm -f $@
+ ln -s $(TOPDIR)/common/memsize.c $@
#########################################################################