u-boot-brain/drivers/usb/gadget
Alex Kiernan 9925f1dbc3 net: Move enetaddr env access code to env config instead of net config
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 f411b5cca4 ("board: am335x: Always set eth/eth1addr environment
variable")

when Ethernet is required in Linux, but not U-Boot.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
2018-04-08 23:00:58 -04:00
..
udc
at91_udc.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
at91_udc.h
atmel_usba_udc.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
atmel_usba_udc.h avr32: Retire AVR32 for good 2017-07-06 16:17:19 -04:00
bcm_udc_otg_phy.c
bcm_udc_otg.h
ci_udc.c
ci_udc.h
composite.c
config.c
core.c
designware_udc.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
dwc2_udc_otg_phy.c
dwc2_udc_otg_priv.h
dwc2_udc_otg_regs.h
dwc2_udc_otg_xfer_dma.c usb: dwc2: make casts of ep->dma_buf consistent 2018-02-05 12:09:43 -05:00
dwc2_udc_otg.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ep0.c
ep0.h
epautoconf.c
ether.c net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
f_dfu.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
f_dfu.h usb: gadget: dfu: add result for handle_getstatus() 2017-02-26 13:24:30 +01:00
f_fastboot.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
f_mass_storage.c
f_rockusb.c usb: rockchip: remove duplicate assignement. 2018-03-28 23:30:31 +02:00
f_sdp.c usb: gadget: sdp: fix pointer cast warnings for 64bit archs 2018-02-21 20:28:15 +01:00
f_thor.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
f_thor.h
fotg210.c
g_dnl.c usb: gadget: Make g_dnl USB settings common 2017-10-03 19:12:05 +02:00
gadget_chips.h powerpc, 8260: remove support for mpc8260 2017-06-12 08:38:02 -04:00
Kconfig usb: gadget: USB_ETHER requires network support 2018-04-08 23:00:58 -04:00
Makefile dfu: Rename _FUNCTION_DFU to DFU_OVER_ 2018-02-21 20:28:15 +01:00
ndis.h
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c
rndis.c
rndis.h
storage_common.c usb: gadget: storage: Increase FSG_BUFLEN 2017-11-26 02:22:36 +01:00
usbstring.c