summaryrefslogtreecommitdiff
path: root/drivers/net/dm9000x.c
diff options
context:
space:
mode:
authorStelian Pop <stelian@popies.net>2008-05-08 20:52:22 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-05-10 11:32:08 +0200
commitd99a8ff66d8ae87e5c87590ed2e4ead629540607 (patch)
tree6e3c565276f32dbc6a43c2d521b3b8762868d0dc /drivers/net/dm9000x.c
parent86c8c8a414988c50104a3b02c29f50af2be738c0 (diff)
downloadu-boot-imx-d99a8ff66d8ae87e5c87590ed2e4ead629540607.zip
u-boot-imx-d99a8ff66d8ae87e5c87590ed2e4ead629540607.tar.gz
u-boot-imx-d99a8ff66d8ae87e5c87590ed2e4ead629540607.tar.bz2
AT91SAM9261EK support
This patch adds support for the AT91SAM9261 chip and the AT91SAM9261EK board. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/net/dm9000x.c')
-rw-r--r--drivers/net/dm9000x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c
index 6131b5c..db6d3bd 100644
--- a/drivers/net/dm9000x.c
+++ b/drivers/net/dm9000x.c
@@ -300,8 +300,10 @@ eth_init(bd_t * bd)
DM9000_iow(DM9000_ISR, 0x0f); /* Clear interrupt status */
/* Set Node address */
+#ifndef CONFIG_AT91SAM9261EK
for (i = 0; i < 6; i++)
((u16 *) bd->bi_enetaddr)[i] = read_srom_word(i);
+#endif
if (is_zero_ether_addr(bd->bi_enetaddr) ||
is_multicast_ether_addr(bd->bi_enetaddr)) {