Fix undefined reference to `getenv_IPaddr' for ARM
PATCH 1/1 Fix undefined reference to `getenv_IPaddr' for ARM
lib_arm/libarm.a(board.o): In function `start_armboot':/home/khasim/beagle/u-boot_mailing/u-boot-ti/lib_arm/board.c:361:
undefined reference to `getenv_IPaddr'
make: *** [u-boot] Error 1
Signed-off-by Syed Mohammed Khasim <[email protected]>
--- lib_arm/board.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
lib_arm/board.c +2 -0
@@ -356,8 +356,10 @@ void start_armboot (void)serial_initialize ();#endif +#if defined(CONFIG_CMD_NET )/* IP Address */ gd->bd->bi_ip_addr =getenv_IPaddr ("ipaddr" ); +#endif stdio_init ();/* get the devices list going. */
Signature · 1 line
1.5.6.3