]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: #ifdef out getenv_IPaddr()
authorGraeme Russ <graeme.russ@gmail.com>
Fri, 23 Apr 2010 14:05:36 +0000 (00:05 +1000)
committerWolfgang Denk <wd@denx.de>
Wed, 5 May 2010 22:13:34 +0000 (00:13 +0200)
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
arch/i386/lib/board.c

index f3b6348551ea7058b68b72229c008a1985d6235b..af81cd5b2377e18c233de2253958baff533177d8 100644 (file)
@@ -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)
        /*