u-boot/arch/arm/include/asm
Ben Gardiner 7b37a27e14 davinci_emac: davinci_eth_set_mac_addr to ->write_hwaddr
This patch proposes to migrate the davinci_emac driver to using the
eth_device->write_hwaddr function pointer as suggested by Ben Warren.

All the davinci boards had the behaviour, prior to this patch, of
sync'ing the environment variable enetaddr with the MAC address read
from non-volatile storage on boot -- when the two locations disagreed,
the environment variable value took precendence. This patch keeps the
same behaviour but lets eth_initialize take care of it.

This patch refactors davinci_emac setup in the boards so that the MAC
address is read from non-volatile storage into the environment variable
and then the environment variable value is use in eth_intialize. The
only exception is the direct call to davinci_eth_set_mac_addr made by
the da830evm board init which was changed into an assignment of the
enetaddr field.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Tested-by: Nick Thompson <nick.thompson@ge.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2010-10-11 23:07:17 -07:00
..
arch-a320 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-arm720t Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-arm925t Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-arm926ejs Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-at91 at91_pit: Fix AT91_PIT_MR_PIV_MASK macro 2010-09-03 16:26:45 +02:00
arch-at91rm9200 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-davinci davinci_emac: davinci_eth_set_mac_addr to ->write_hwaddr 2010-10-11 23:07:17 -07:00
arch-ep93xx Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-imx Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-ixp Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-kirkwood cmd_ide: add support for Kirkwood 2010-08-08 05:17:55 +05:30
arch-ks8695 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-lpc2292 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-mb86r0x ARM: Add support for MB86R0x SoCs 2010-08-10 23:13:28 +02:00
arch-mx25 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-mx27 arm, mx27: add support for SDHC1 pin init 2010-04-30 05:23:23 -05:00
arch-mx31 MX31: Support 128MB RAM on QONG module 2010-04-30 05:23:26 -05:00
arch-mx51 ARM: Rename arch/arm/cpu/arm_cortexa8 to armv7 2010-07-05 19:59:55 -04:00
arch-nomadik Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-omap Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-omap3 ARMV7: OMAP3: Fix broken reset command on OMAP36XX/37XX and OMAP4 2010-09-08 14:51:18 -04:00
arch-omap4 ARMV7: OMAP4: Calculate SDRAM size 2010-09-28 13:54:43 -04:00
arch-omap24xx omap2: i2c: remove redundant header definitions 2010-08-23 08:09:04 +02:00
arch-orion5x orion5x: fix comment-in-comment typo in cpu.h 2010-08-27 21:41:48 +05:30
arch-pxa PXA: Add PWM2 and PWM3 regs to pxa-regs.h 2010-07-14 22:41:39 +02:00
arch-s3c24x0 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-s3c44b0 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-s3c64xx Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-s3c4510b Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-s5pc1xx ARMV7: S5P: rename the member of gpio structure 2010-08-30 14:44:33 +09:00
arch-sa1100 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-spear Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-tnetv107x ARM1176: TI: TNETV107X soc initial support 2010-06-08 10:07:17 -05:00
proc-armv Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
atomic.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
bitops.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
byteorder.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
cache.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
config.h ARM: add relocation support 2010-09-19 19:29:53 +02:00
dma-mapping.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
errno.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
global_data.h ARM: add relocation support 2010-09-19 19:29:53 +02:00
hardware.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
io.h ARM: Define __raw_readX and __raw_writeX 2010-08-07 22:34:25 +02:00
mach-types.h ARM: Update ARM mach-types 2010-09-18 23:54:50 +02:00
macro.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
memory.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
posix_types.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
processor.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
ptrace.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
setup.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
sizes.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
string.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
system.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
types.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
u-boot-arm.h ARM: add relocation support 2010-09-19 19:29:53 +02:00
u-boot.h arm: get rid of bi_env 2010-09-19 19:29:50 +02:00
unaligned.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00