u-boot-brain/board/toradex
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
..
apalis_imx6 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
apalis_t30 apalis_t30: fix usb otg power enable 2017-08-15 14:51:18 -07:00
apalis-tk1 dm: power: Convert as3722 to driver model 2017-07-28 12:02:47 -06:00
colibri_imx6 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
colibri_imx7 imx: imx7d: remove CamelCase from ENET_xMHz macros 2017-09-18 17:15:28 +02:00
colibri_pxa270 arm: Add explicit include of <asm/mach-types.h> 2017-06-05 11:02:36 -04:00
colibri_t20 board: toradex: use get_nand_dev_by_index() 2017-07-11 22:41:52 -04:00
colibri_t30 toradex: allow custom fdt board setup in board file 2016-12-16 09:56:38 +01:00
colibri_vf env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
common net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00