From: Graeme Russ Date: Fri, 23 Apr 2010 14:05:36 +0000 (+1000) Subject: x86: #ifdef out getenv_IPaddr() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=535ad2db069aae6d1d36fc05c31cbd8a2b3d8831;p=u-boot.git x86: #ifdef out getenv_IPaddr() Signed-off-by: Graeme Russ --- diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c index f3b6348551..af81cd5b23 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) /*