mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-25 06:00:25 +09: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
|
||
---|---|---|
.. | ||
udc | ||
at91_udc.c | ||
at91_udc.h | ||
atmel_usba_udc.c | ||
atmel_usba_udc.h | ||
bcm_udc_otg_phy.c | ||
bcm_udc_otg.h | ||
ci_udc.c | ||
ci_udc.h | ||
composite.c | ||
config.c | ||
core.c | ||
designware_udc.c | ||
dwc2_udc_otg_phy.c | ||
dwc2_udc_otg_priv.h | ||
dwc2_udc_otg_regs.h | ||
dwc2_udc_otg_xfer_dma.c | ||
dwc2_udc_otg.c | ||
ep0.c | ||
ep0.h | ||
epautoconf.c | ||
ether.c | ||
f_dfu.c | ||
f_dfu.h | ||
f_fastboot.c | ||
f_mass_storage.c | ||
f_rockusb.c | ||
f_sdp.c | ||
f_thor.c | ||
f_thor.h | ||
fotg210.c | ||
g_dnl.c | ||
gadget_chips.h | ||
Kconfig | ||
Makefile | ||
ndis.h | ||
pxa25x_udc.c | ||
pxa25x_udc.h | ||
pxa27x_udc.c | ||
rndis.c | ||
rndis.h | ||
storage_common.c | ||
usbstring.c |