From 535ad2db069aae6d1d36fc05c31cbd8a2b3d8831 Mon Sep 17 00:00:00 2001 From: Graeme Russ Date: Sat, 24 Apr 2010 00:05:36 +1000 Subject: x86: #ifdef out getenv_IPaddr() Signed-off-by: Graeme Russ --- arch/i386/lib/board.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch') diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c index f3b6348551e..af81cd5b237 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) /* -- cgit v1.2.3