summaryrefslogtreecommitdiffstats
path: root/drivers/net/macb.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-04 01:20:18 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-20 15:02:36 +0200
commit81362c2b2a81d63f93e9534aa624c7f265c55947 (patch)
tree23b3def1f64276305469b9e2a4a86dc25895e651 /drivers/net/macb.c
parent35144c0b867d03a09118f02f1e9e43111e6f544a (diff)
downloadbarebox-81362c2b2a81d63f93e9534aa624c7f265c55947.tar.gz
barebox-81362c2b2a81d63f93e9534aa624c7f265c55947.tar.xz
at91sam9: move to at91
this will allow to add at91rm9200 with the same api as done in the kernel Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/net/macb.c')
-rw-r--r--drivers/net/macb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 499c77e2c0..2d1a1e845d 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -264,7 +264,7 @@ static int macb_init(struct eth_device *edev)
else
val &= ~MACB_BIT(RMII);
-#if defined(CONFIG_ARCH_AT91SAM9)
+#if defined(CONFIG_ARCH_AT91)
val |= MACB_BIT(CLKEN);
#endif
writel(val, macb->regs + MACB_USRIO);