diff options
Diffstat (limited to 'board/pn62/pn62.c')
-rw-r--r-- | board/pn62/pn62.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/pn62/pn62.c b/board/pn62/pn62.c index c0111dc..0252240 100644 --- a/board/pn62/pn62.c +++ b/board/pn62/pn62.c @@ -145,11 +145,13 @@ int misc_init_r (void) } show_startup_phase (10); +#ifdef CONFIG_HAS_ETH1 if (getenv ("eth1addr") == NULL && get_mac_address (1, mac, str, sizeof (str)) > 0) { setenv ("eth1addr", str); memcpy (gd->bd->bi_enet1addr, mac, 6); } +#endif /* CONFIG_HAS_ETH1 */ show_startup_phase (11); /* Tell everybody that U-Boot is up and runnig */ |