From fa9522da41bceb8e12bf2df05aa9aba31211412d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 24 Aug 2015 14:30:58 -0600 Subject: [PATCH] Missed one file in last commit --- arch/z80/src/common/up_initialize.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/z80/src/common/up_initialize.c b/arch/z80/src/common/up_initialize.c index a71a256626..81696640f5 100644 --- a/arch/z80/src/common/up_initialize.c +++ b/arch/z80/src/common/up_initialize.c @@ -44,6 +44,7 @@ #include #include #include +#include #include @@ -181,5 +182,11 @@ void up_initialize(void) up_netinitialize(); #endif +#ifdef CONFIG_NETDEV_LOOPBACK + /* Initialize the local loopback device */ + + (void)localhost_initialize(); +#endif + board_led_on(LED_IRQSENABLED); }