diff options
author | Tom Rini <trini@konsulko.com> | 2020-06-25 18:15:50 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-06-25 18:15:50 -0400 |
commit | 04f005d552eb748582678a45119b55a99f75748e (patch) | |
tree | d57377eec42fbfecfc3108d8b64b8061331fed3a /common/board_r.c | |
parent | f0e236c8d6646f6ef0ebf8f043962a07dda3b3a3 (diff) | |
parent | c68a1ae6ab760d797f4dde2c5c671e18d0e2adb4 (diff) |
Merge branch '2020-06-25-tidy-up-bd-command' into next
- Tidy up the 'bdinfo' command so that it's both consistent for all
architectures and sharing as much code as possible.
Diffstat (limited to 'common/board_r.c')
-rw-r--r-- | common/board_r.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/common/board_r.c b/common/board_r.c index fa57fa9b699..5e924322b2f 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -537,21 +537,7 @@ static int initr_ethaddr(void) /* kept around for legacy kernels only ... ignore the next section */ eth_env_get_enetaddr("ethaddr", bd->bi_enetaddr); -#ifdef CONFIG_HAS_ETH1 - eth_env_get_enetaddr("eth1addr", bd->bi_enet1addr); -#endif -#ifdef CONFIG_HAS_ETH2 - eth_env_get_enetaddr("eth2addr", bd->bi_enet2addr); -#endif -#ifdef CONFIG_HAS_ETH3 - eth_env_get_enetaddr("eth3addr", bd->bi_enet3addr); -#endif -#ifdef CONFIG_HAS_ETH4 - eth_env_get_enetaddr("eth4addr", bd->bi_enet4addr); -#endif -#ifdef CONFIG_HAS_ETH5 - eth_env_get_enetaddr("eth5addr", bd->bi_enet5addr); -#endif + return 0; } #endif /* CONFIG_CMD_NET */ |