summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorStelian Pop <stelian@popies.net>2008-03-26 18:52:33 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-04-01 01:46:12 +0200
commit0176d43e759a6e00cacc85eff26fd60f74b4f6b7 (patch)
treeb181c51bf4dca090faecd5bbeb5b95acbeab120e /drivers/net
parent1762f13b4aab88b685b1722f17dada247945624b (diff)
downloadu-boot-imx-0176d43e759a6e00cacc85eff26fd60f74b4f6b7.zip
u-boot-imx-0176d43e759a6e00cacc85eff26fd60f74b4f6b7.tar.gz
u-boot-imx-0176d43e759a6e00cacc85eff26fd60f74b4f6b7.tar.bz2
Add support for AT91SAM9260EK
Support for booting from internal DataFlash, external DataFlash card or NAND flash is available. Signed-off-by: Stelian Pop <stelian@popies.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/macb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 9c98338..703784e 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -417,13 +417,13 @@ static int macb_init(struct eth_device *netdev, bd_t *bd)
/* choose RMII or MII mode. This depends on the board */
#ifdef CONFIG_RMII
-#ifdef CONFIG_AT91CAP9ADK
+#if defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260)
macb_writel(macb, USRIO, MACB_BIT(RMII) | MACB_BIT(CLKEN));
#else
macb_writel(macb, USRIO, 0);
#endif
#else
-#ifdef CONFIG_AT91CAP9ADK
+#if defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260)
macb_writel(macb, USRIO, MACB_BIT(CLKEN));
#else
macb_writel(macb, USRIO, MACB_BIT(MII));