1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/cmd
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-04-22 12:06:39 -04:00
2019-08-11 16:43:41 -04:00
2019-04-22 12:06:39 -04:00
2019-08-09 22:24:02 +08:00
2019-07-24 13:16:29 -04:00
2019-08-11 16:43:41 -04:00
2018-08-11 09:16:08 +02:00
2019-08-11 16:43:41 -04:00
2017-07-03 17:35:28 -04:00
2019-08-11 16:43:41 -04:00
2018-05-23 17:30:05 -04:00
2019-08-11 16:43:41 -04:00
2019-05-09 16:47:52 +08:00
2019-08-11 16:43:41 -04:00
2019-08-22 00:10:09 +02:00
2018-12-04 19:44:57 +01:00
2018-09-25 21:49:18 -04:00
2019-08-11 16:43:41 -04:00
2019-02-19 08:55:43 -05:00
2019-08-11 16:43:41 -04:00
2018-09-23 21:55:30 +02:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-26 11:46:27 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 19:27: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-06-21 10:07:11 -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-08-11 16:43:41 -04:00
2019-05-04 19:26:49 +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-08-11 16:43:41 -04:00
2018-09-28 18:27:33 +02:00
2019-08-11 16:43:41 -04:00
2019-09-04 11:37:19 -05: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-08-11 16:43:41 -04:00
2018-05-08 09:07:35 -04:00
2019-08-11 16:43:41 -04:00
2019-03-25 17:36:53 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-01-15 15:28:44 -05: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
2018-09-28 20:22:36 -04:00
2019-04-12 07:04:18 +02:00
2018-07-02 14:14:20 -05: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