u-boot-brain/board/ti
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
..
am43xx net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
am57xx Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
am335x ti: am335x: Fix build when networking is disabled 2018-04-08 23:00:58 -04:00
am3517crane Configs: Migrate CONFIG_SYS_I2C_OMAP34XX to CONFIG_SYS_I2C_OMAP24XX 2017-08-09 06:14:13 +02:00
beagle ARM: omap3: beagle: Set 'mtdids' and 'mtdparts' in board file 2018-03-13 21:59:27 -04:00
common env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr() 2017-08-16 08:23:56 -04:00
dra7xx Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
evm ARM: omap3: evm: Refactor 'board_eth_init' 2018-01-01 09:04:19 -05:00
ks2_evm env: Fix missed getenv_ulong to env_get_ulong conversion 2018-02-23 10:21:41 -05:00
omap5_uevm usb: hub: identify the hub-device to usb_hub_reset_devices 2017-11-26 02:22:36 +01:00
panda env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
sdp4430 omap4: sdp4430: match the #endif comment to #ifdef 2017-10-27 08:52:22 -04:00
ti814x net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
ti816x net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00