Skip to contentSkip to conversation

arm: Tegra: Fix Harmony and Ventana builds in u-boot-tegra/master

PATCH New Tom Warren 3 participants 3 messages Dec 20, 2011 – Dec 22, 2011

lore
Share & tools
lore

Tom Warren

author
#0 lore raw

PATCH v2 1/1 arm: Tegra: Fix Harmony and Ventana builds in u-boot-tegra/master

Seaboard changes have removed the need for common/board.o in the Makefile. Propagate this change to the other Tegra2 builds.

---
V2: Add more info to commit msg about use/source of change

 board/nvidia/harmony/Makefile |    1 -
 board/nvidia/ventana/Makefile |    3 +--
 include/configs/ventana.h     |    3 +++
 3 files changed, 4 insertions(+), 3 deletions(-)
board/nvidia/harmony/Makefile +0 -1
index f6599de..b6efa1c 100644
@@ -31,7 +31,6 @@ endif
 LIB	= $(obj)lib$(BOARD).o
 
 COBJS	:= $(BOARD).o
-COBJS	+= ../common/board.o
 
 SRCS	:= $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
board/nvidia/ventana/Makefile +1 -2
index 9e5a87f..b4ab79a 100644
@@ -30,8 +30,7 @@ endif
 
 LIB	= $(obj)lib$(BOARD).o
 
-COBJS	+= ../seaboard/seaboard.o
-COBJS	+= ../common/board.o
+COBJS	= ../seaboard/seaboard.o
 
 SRCS	:= $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
include/configs/ventana.h +3 -0
index afd6ff6..acc9b43 100644
@@ -52,4 +52,7 @@
 #define CONFIG_EFI_PARTITION
 #define CONFIG_CMD_EXT2
 #define CONFIG_CMD_FAT
+
+/* Environment not stored */
+#define CONFIG_ENV_IS_NOWHERE
 #endif /* __CONFIG_H */
Signature · 1 line
1.7.7.1
#2 lore raw

PATCH v2 1/1 arm: Tegra: Fix Harmony and Ventana builds in u-boot-tegra/master

In reply to Tom Warren

Dear Tom Warren,

Quoted 11 lines · In message <[email protected]> you wrote:

Seaboard changes have removed the need for common/board.o in the Makefile. Propagate this change to the other Tegra2 builds.

---
V2: Add more info to commit msg about use/source of change

 board/nvidia/harmony/Makefile |    1 -
 board/nvidia/ventana/Makefile |    3 +--
 include/configs/ventana.h     |    3 +++
 3 files changed, 4 insertions(+), 3 deletions(-)

This patch breaks building for the harmony board:

Configuring for harmony board...
arch/arm/cpu/armv7/tegra2/libtegra2.o: In function `checkboard':
/home/wd/git/u-boot/work/arch/arm/cpu/armv7/tegra2/board.c:70: undefined reference to sysinfo' arch/arm/lib/libarm.o: In function board_init_r':
/home/wd/git/u-boot/work/arch/arm/lib/board.c:465: undefined reference to board_init' arch/arm/lib/libarm.o:(.data+0x4): undefined reference to board_early_init_f' arch/arm/lib/libarm.o:(.data+0x8): undefined reference to `timer_init'

Best regards,

Wolfgang Denk

Signature · 12 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Zero is an enigmatic value. It can mean success (fclose)  or  failure
(scanf).  It  can  mean  black  or  white. It can mean no permissions
(chmod) or all permissions (umask). It can mean now (setjmp) or later
(atexit). It can mean the beginning (lseek) or the end (read). It can
mean myself (getpgrp) or child (fork). It can mean  all  (kill's  1st
argument)  or  nothing  (kill's  2nd argument). It can mean `default'
(SIG_IGN) or `I don't care' (waitpid) or  `try  to  guess'  (strtol).
Indeed 0 lets you talk to God (setuid).
Verily is 0 all things to all people.