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
..
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
Makefile board/spear/common: move code to arch/arm/cpu/arm926ejs/spear/ 2017-08-26 14:56:10 -04:00
reset.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
spear600.c arm: spear: Move to common SPL infrastructure 2015-08-28 12:33:16 -04:00
spl.c arm: spear: do not return random value from stack 2017-08-13 15:17:26 -04:00
spr600_mt47h32m16_37e_166_cl4_sync.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
spr600_mt47h32m16_333_cl5_psync.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
spr600_mt47h64m16_3_333_cl5_psync.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
spr600_mt47h128m8_3_266_cl5_async.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
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 arm: spear: Move to common SPL infrastructure 2015-08-28 12:33:16 -04:00
timer.c spear: Use upper case for CONFIG options 2016-09-16 17:26:39 -04:00
u-boot-spl.lds arm: spear: Move to common SPL infrastructure 2015-08-28 12:33:16 -04:00