public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: hawkboard: fix compilation of nand_spl
@ 2011-09-09  7:17 Stefano Babic
  2011-09-09  7:36 ` Wolfgang Denk
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Stefano Babic @ 2011-09-09  7:17 UTC (permalink / raw)
  To: u-boot

get_ram_size() is called, but memsize.c is not compiled.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 nand_spl/board/davinci/da8xxevm/Makefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/nand_spl/board/davinci/da8xxevm/Makefile b/nand_spl/board/davinci/da8xxevm/Makefile
index b3f4bd6..65ed055 100644
--- a/nand_spl/board/davinci/da8xxevm/Makefile
+++ b/nand_spl/board/davinci/da8xxevm/Makefile
@@ -38,7 +38,7 @@ 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
+	misc.o hawkboard_nand_spl.o nand_boot.o memsize.o
 
 SRCS	:= $(addprefix $(obj),$(SOBJS:.o=.S) $(COBJS:.o=.c))
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
@@ -125,6 +125,10 @@ $(obj)psc.c:
 	@rm -f $@
 	ln -s $(TOPDIR)/arch/arm/cpu/arm926ejs/davinci/psc.c $@
 
+# from comon directory
+$(obj)memsize.c:
+	@rm -f $@
+	ln -s $(TOPDIR)/common/memsize.c $@
 
 #########################################################################
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 20+ messages in thread
* [U-Boot] [PATCH] ARM: hawkboard: fix compilation of nand_spl
@ 2011-09-10 20:28 Wolfgang Denk
  2011-09-10 20:46 ` Wolfgang Denk
  0 siblings, 1 reply; 20+ messages in thread
From: Wolfgang Denk @ 2011-09-10 20:28 UTC (permalink / raw)
  To: u-boot

Fix build problem:

nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c: In function 'board_init_f':
nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:132: warning: implicit declaration of function 'nand_boot'
nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:133: warning: 'noreturn' function does return

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Syed Mohammed Khasim <sm.khasim@gmail.com>
Cc: Sughosh Ganu <urwithsughosh@gmail.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
---
 board/davinci/da8xxevm/hawkboard_nand_spl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/board/davinci/da8xxevm/hawkboard_nand_spl.c b/board/davinci/da8xxevm/hawkboard_nand_spl.c
index 9155236..e5e65e5 100644
--- a/board/davinci/da8xxevm/hawkboard_nand_spl.c
+++ b/board/davinci/da8xxevm/hawkboard_nand_spl.c
@@ -28,6 +28,7 @@
 #include <asm/io.h>
 #include <asm/arch/davinci_misc.h>
 #include <ns16550.h>
+#include <nand.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-- 
1.7.6

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2011-09-12 13:16 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-09  7:17 [U-Boot] [PATCH] ARM: hawkboard: fix compilation of nand_spl Stefano Babic
2011-09-09  7:36 ` Wolfgang Denk
2011-09-09  9:04   ` Stefano Babic
2011-09-12 11:05     ` Sughosh Ganu
2011-09-12 13:16       ` Stefano Babic
2011-09-09  9:23 ` Stefano Babic
2011-09-09  9:36   ` Stefano Babic
2011-09-09  9:37 ` [U-Boot] [PATCH] ARM: hawkboard_nand: " Stefano Babic
2011-09-09 11:40   ` Wolfgang Denk
2011-09-09 12:40     ` Stefano Babic
2011-09-09 13:09 ` [U-Boot] [PATCH V2] " Stefano Babic
2011-09-10 14:13   ` Wolfgang Denk
2011-09-11 16:19     ` Albert ARIBAUD
2011-09-09 20:34 ` [U-Boot] [PATCH] ARM: hawkboard: " Paulraj, Sandeep
  -- strict thread matches above, loose matches on Subject: below --
2011-09-10 20:28 Wolfgang Denk
2011-09-10 20:46 ` Wolfgang Denk
2011-09-11 15:59   ` Albert ARIBAUD
2011-09-11 16:11     ` Albert ARIBAUD
2011-09-11 18:04       ` Wolfgang Denk
2011-09-11 18:03     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox