mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 13:14:19 +08:00
9925f1dbc3
In order that we can use eth_env_* even when CONFIG_NET isn't set, move
these functions to environment code from net code.
This fixes failures such as:
board/ti/am335x/built-in.o: In function `board_late_init':
board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'
which caters for use cases such as:
commit
|
||
---|---|---|
.. | ||
at91rm9200ek | ||
at91sam9m10g45ek | ||
at91sam9n12ek | ||
at91sam9rlek | ||
at91sam9x5ek | ||
at91sam9260ek | ||
at91sam9261ek | ||
at91sam9263ek | ||
common | ||
sama5d2_ptc_ek | ||
sama5d2_xplained | ||
sama5d3_xplained | ||
sama5d3xek | ||
sama5d4_xplained | ||
sama5d4ek | ||
sama5d27_som1_ek |