u-boot/arch/arm/cpu/arm926ejs/spear
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
..
Makefile board/spear/common: move code to arch/arm/cpu/arm926ejs/spear/ 2017-08-26 14:56:10 -04:00
cpu.c arch/arm/cpu/arm926ejs/spear/cpu.c: guard do_switch_ecc() with CONFIG_NAND_FSMC 2017-08-26 14:56:10 -04:00
reset.c
spear600.c
spl.c
spr600_mt47h32m16_37e_166_cl4_sync.c
spr600_mt47h32m16_333_cl5_psync.c
spr600_mt47h64m16_3_333_cl5_psync.c
spr600_mt47h128m8_3_266_cl5_async.c
spr_lowlevel_init.S board/spear/common: move code to arch/arm/cpu/arm926ejs/spear/ 2017-08-26 14:56:10 -04:00
spr_misc.c net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
start.S
timer.c
u-boot-spl.lds