u-boot-brain/drivers
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
..
bios_emulator ati_radeon: Support PCI virtual not eq bus mapping. 2010-04-08 15:30:47 +02:00
block ide: add mvsata_ide driver 2010-08-08 05:17:06 +05:30
dma powerpc/8xxx: Fix dma for 36bit addressing 2010-08-31 11:23:15 -05:00
fpga add block write function to spartan3 slave serial load 2010-03-24 11:08:43 -05:00
gpio ARMV7: S5P: rename from CONFIG_S5PC1XX to CONFIG_S5P 2010-08-26 17:33:23 +09:00
hwmon ds1621: Fix negative temperature readings 2010-10-06 23:01:22 +02:00
i2c ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
input Remove HMI10 board support 2010-09-19 21:28:25 +02:00
misc cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
mmc Blackfin: bfin_sdh: clean up send_cmd 2010-10-02 16:00:37 -04:00
mtd sf: spansion: add support for S25FL032P parts 2010-10-06 20:50:38 -04:00
net davinci_emac: davinci_eth_set_mac_addr to ->write_hwaddr 2010-10-11 23:07:17 -07:00
pci powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
pcmcia Remove HMI10 board support 2010-09-19 21:28:25 +02:00
power Prepare v2010.09-rc1 2010-09-10 00:16:19 +02:00
qe UEC PHY: Speed up initial PHY neg. 2010-10-11 22:47:48 -07:00
rtc AT91: add RTT and GPBR based RTC 2010-09-03 11:20:02 +02:00
serial ppc4xx: Remove now unused CONFIG_UART1_CONSOLE 2010-09-23 09:02:05 +02:00
spi Blackfin: bfin_spi: add optional DMA support 2010-10-02 16:00:36 -04:00
twserial drivers/twserial: Add protocol driver for "three wire serial" interface. 2009-03-30 09:38:36 +02:00
usb USB-CDC: Fix coding style issues 2010-09-20 21:57:17 +02:00
video Merge branch 'next' of git://git.denx.de/u-boot-video 2010-10-05 14:31:48 +02:00
watchdog Convert at91 watchdog driver to new SoC access 2010-04-03 15:24:27 -05:00