diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | lib_arm/board.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 39fe4e38b..ae67d7a81 100644 --- a/.gitignore +++ b/.gitignore @@ -39,7 +39,7 @@ /LOG /errlog /reloc_off -build +build* # stgit generated dirs patches-* diff --git a/lib_arm/board.c b/lib_arm/board.c index e14873915..453d66012 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -356,8 +356,10 @@ void start_armboot (void) serial_initialize(); #endif +#ifdef CONFIG_CMD_NET /* IP Address */ gd->bd->bi_ip_addr = getenv_IPaddr ("ipaddr"); +#endif stdio_init (); /* get the devices list going. */ |