[U-Boot] [PATCH v3 02/26] [x86] #ifdef out getenv_IPaddr()
Graeme Russ
graeme.russ at gmail.com
Fri Apr 23 16:05:36 CEST 2010
Signed-off-by: Graeme Russ <graeme.russ at gmail.com>
---
arch/i386/lib/board.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c
index f3b6348..af81cd5 100644
--- a/arch/i386/lib/board.c
+++ b/arch/i386/lib/board.c
@@ -280,8 +280,10 @@ void board_init_r(gd_t *id, ulong ram_start)
show_boot_progress(0x26);
+#ifdef CONFIG_CMD_NET
/* IP Address */
bd_data.bi_ip_addr = getenv_IPaddr ("ipaddr");
+#endif
#if defined(CONFIG_PCI)
/*
--
1.7.1.rc1.12.ga601
More information about the U-Boot
mailing list