u-boot-brain/board/renesas
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
..
alt net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
ap325rxa sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
blanche net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
draak ARM: rmobile: Add R8A77995 D3 Draak board 2017-12-09 13:36:27 +01:00
eagle ARM: rmobile: Add R8A77970 V3M Eagle board 2017-12-09 13:36:27 +01:00
ecovec env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
gose net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
koelsch net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
lager net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
MigoR sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
porter ARM: rmobile: Fix broken reset code on Porter 2018-02-17 22:00:25 +01:00
r2dplus sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
r7780mp sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
r0p7734 i2c: Drop use of CONFIG_I2C_HARD 2017-05-15 06:17:09 +02:00
rcar-common ARM: rmobile: rcar-common: Fix warning of type difference 2016-08-17 10:25:35 +09:00
rsk7203 sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
rsk7264 sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
rsk7269 sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
salvator-x ARM: rmobile: Add R8A77965 Salvator-XS board support 2018-03-05 10:59:38 +01:00
sh7752evb net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
sh7753evb net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
sh7757lcr net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
sh7763rdp sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
sh7785lcr sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
silk net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
stout net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
ulcb ARM: rmobile: Rework the ULCB CPLD driver 2017-11-30 08:54:18 +01:00