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
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| cpu.c | ||
| 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 | ||
| spr_misc.c | ||
| start.S | ||
| timer.c | ||
| u-boot-spl.lds | ||