u-boot/arch/powerpc/cpu/mpc85xx
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
..
b4860_ids.c powerpc: B4420: Remove macro CONFIG_PPC_B4420 2016-11-23 23:42:12 -08:00
b4860_serdes.c powerpc: B4420: Remove macro CONFIG_PPC_B4420 2016-11-23 23:42:12 -08:00
bsc9132_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
c29x_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
cmd_errata.c mpc85xx: pcie: Implement workaround for Erratum A007815 2017-01-24 13:28:31 -08:00
commproc.c ppc: Move dp_alloc_base, dp_alloc_top to arch_global_data 2013-02-04 09:05:43 -05:00
config.mk powerpc: remove redundant CPU definition 2014-07-30 14:42:03 -04:00
cpu.c powerpc: Remove unneccessary #ifdefs in reginfo 2017-07-22 22:22:49 -04:00
cpu_init.c drivers/misc: Share qbman init between archs 2018-01-10 12:28:47 -08:00
cpu_init_early.c powerpc: QEMU_E500: Remove macro CONFIG_QEMU_E500 2016-11-23 23:42:12 -08:00
ether_fcc.c net: mii: Use spatch to update miiphy_register 2016-08-15 15:26:33 -05:00
fdt.c net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
fsl_corenet2_serdes.c powerpc: T4240QDS: Remove macro CONFIG_T4240QDS 2016-11-23 23:42:15 -08:00
fsl_corenet2_serdes.h powerpc/asm: Move function declaration of 'serdes_get_prtcl' to fsl_serdes.h 2013-08-09 12:41:41 -07:00
fsl_corenet_serdes.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
fsl_corenet_serdes.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
interrupts.c powerpc: Rework interrupt_init_cpu() 2017-08-26 14:56:08 -04:00
Kconfig Move CONFIG_PANIC_HANG to Kconfig 2017-12-26 13:10:24 -05:00
liodn.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
Makefile powerpc: mpc85xx: Remove variant SoCs T1020/T1022/T1013/T1014 2017-01-04 19:40:20 -05:00
mp.c env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
mp.h powerpc/mpc85xx: Rewrite spin table to comply with ePAPR v1.1 2012-10-22 14:31:32 -05:00
mpc8536_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8544_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8548_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8568_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8569_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8572_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1010_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1021_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1022_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1023_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p2020_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p2041_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p2041_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p3041_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p3041_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p4080_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p4080_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p5020_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p5020_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p5040_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p5040_serdes.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
pci.c powerpc: MPC8555CDS: Remove macro CONFIG_MPC8555CDS 2016-11-23 23:42:05 -08:00
portals.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
qe_io.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
release.S powerpc: mpc85xx: Implement CPU erratum A-007907 for secondary cores 2017-10-23 14:02:48 -07:00
resetvec.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serial_scc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
speed.c arch: powerpc: update the eLBC IP input clock 2017-02-03 14:31:45 -08:00
spl_minimal.c powerpc/mpc85xx: Fix boot_flag for calling board_init_f() 2014-05-13 08:31:22 -07:00
start.S powerpc: spl: configure SYS_MALLOC_F_LEN independently for SPL and full U-Boot 2017-07-27 14:59:03 +02:00
t1024_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t1024_serdes.c powerpc: t1024: Fix SRDS_MAX_LANES value 2017-05-15 09:48:49 -07:00
t1040_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t1040_serdes.c arch/powerpc: Add SGMII support for the L2 Switch ports 2015-01-16 09:32:26 -08:00
t2080_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t2080_serdes.c powerpc: T2080, T2081: Remove macro CONFIG_PPC_T2080 and CONFIG_PPC_T2081 2016-11-23 23:42:15 -08:00
t4240_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t4240_serdes.c powerpc: T4080: Drop configuration for T4080 2016-11-23 23:42:16 -08:00
tlb.c powerpc: Remove __ilog2_u64 and ffs4 from bitops 2015-11-05 16:47:05 -05:00
traps.c powerpc: get rid of addr_probe() 2017-07-22 22:22:48 -04:00
u-boot-nand.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00
u-boot-nand_spl.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00
u-boot-spl.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00
u-boot.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00