aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/lib/board.c
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2010-04-24 00:05:36 +1000
committerWolfgang Denk <wd@denx.de>2010-05-06 00:13:34 +0200
commit535ad2db069aae6d1d36fc05c31cbd8a2b3d8831 (patch)
tree6fde35202635eac11a8aacd8249790cfbe03917d /arch/i386/lib/board.c
parent721c36705a9efc7b67f78d0c3e8485e4f1b8bcc9 (diff)
downloadu-boot-linaro-stable-535ad2db069aae6d1d36fc05c31cbd8a2b3d8831.tar.gz
x86: #ifdef out getenv_IPaddr()
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/i386/lib/board.c')
-rw-r--r--arch/i386/lib/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c
index f3b634855..af81cd5b2 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)
/*