From: Sughosh Ganu <urwithsughosh@gmail.com>
Date: Tue, 6 Dec 2011 03:45:28 +0000 (+0000)
Subject: davinci: Remove unwanted memsize.c from hawkboard's nand spl build
X-Git-Tag: v2025.01-rc5-pxa1908~18348^2
X-Git-Url: http://git.dujemihanovic.xyz/%22/icons/right.gif/static/git-logo.png?a=commitdiff_plain;h=15422043c4a213dc5d7d59a337be1ab34c9b2e7f;p=u-boot.git

davinci: Remove unwanted memsize.c from hawkboard's nand spl build

dram_init function in board/davinci/common/misc.c does not get
compiled for spl builds, thus rendering inclusion of memsize.c
useless.

Signed-off-by: Sughosh Ganu <urwithsughosh@gmail.com>
---

diff --git a/nand_spl/board/davinci/da8xxevm/Makefile b/nand_spl/board/davinci/da8xxevm/Makefile
index 3783c1896c..7746e41dd1 100644
--- a/nand_spl/board/davinci/da8xxevm/Makefile
+++ b/nand_spl/board/davinci/da8xxevm/Makefile
@@ -46,7 +46,6 @@ COBJS	= cpu.o \
 	da850_pinmux.o \
 	div0.o \
 	hawkboard_nand_spl.o \
-	memsize.o \
 	misc.o \
 	nand_boot.o \
 	ns16550.o \
@@ -140,11 +139,6 @@ $(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 $@
-
 #########################################################################
 
 $(obj)%.o:	$(obj)%.S