1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00
Files
u-boot-megous/net
Ondrej Jirman 5d5db652e3 Revert "env: net: Move eth_parse_enetaddr() to net.c/h"
The reverted patch causes linking error with disabled CONFIG_NET:

  cmd/built-in.o: In function `eth_env_get_enetaddr':
  u-boot-v2019.10/cmd/nvedit.c:363: undefined reference to `eth_parse_enetaddr'

Function setup_environment() in board/sunxi/board.c calls
eth_env_set_enetaddr() to setup stable mac address for ethernet interfaces.

This needs to be implemented and succeed even if net is disabled in u-boot,
as it ensures Linux will not generate random MAC addresses, and picks the
ones provided by u-boot via DT. See fdt_fixup_ethernet().

This feature is independent of the whole network stack and network drivers
in u-boot.

This revert fixes the linking error.

Signed-off-by: Ondrej Jirman <megous@megous.com>
2019-09-13 16:16:15 +02:00
..
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-09-04 11:37:19 -05:00
2019-07-18 16:37:13 -05:00
2019-09-04 11:37:19 -05:00
2019-09-04 11:37:19 -05:00
2018-10-10 12:29:02 -05:00
2019-08-11 16:43:41 -04:00
2018-07-02 14:14:20 -05:00