summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorSergey Lapin <slapin@ossfans.org>2009-05-12 12:25:14 +0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-05-13 01:17:17 +0200
commitc63254ef5628efe1c77cb2fdba20753f9666f55d (patch)
tree237f5ce503c1c91cdd2ee9177f00b9e7ebd2d1eb /cpu
parentf8ddcd58221cab63dd25c2324dd2032487f748b1 (diff)
downloadu-boot-imx-c63254ef5628efe1c77cb2fdba20753f9666f55d.zip
u-boot-imx-c63254ef5628efe1c77cb2fdba20753f9666f55d.tar.gz
u-boot-imx-c63254ef5628efe1c77cb2fdba20753f9666f55d.tar.bz2
AFEB9260 network fix
AFEB9260 uses PA10, PA11 for ETX2 and ETX3. Also, due to extarnal pull-up on IRQ line, Micrel PHY ID is 1 after reset sequence, not 0. Signed-off-by: Sergey Lapin <slapin@ossfans.org>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm926ejs/at91/at91sam9260_macb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm926ejs/at91/at91sam9260_macb.c b/cpu/arm926ejs/at91/at91sam9260_macb.c
index ab60fb7..ea5e767 100644
--- a/cpu/arm926ejs/at91/at91sam9260_macb.c
+++ b/cpu/arm926ejs/at91/at91sam9260_macb.c
@@ -47,7 +47,7 @@ void at91_macb_hw_init(void)
at91_set_B_periph(AT91_PIN_PA25, 0); /* ERX2 */
at91_set_B_periph(AT91_PIN_PA26, 0); /* ERX3 */
at91_set_B_periph(AT91_PIN_PA27, 0); /* ERXCK */
-#if defined(CONFIG_AT91SAM9260EK)
+#if defined(CONFIG_AT91SAM9260EK) || defined(CONFIG_AFEB9260)
/*
* use PA10, PA11 for ETX2, ETX3.
* PA23 and PA24 are for TWI EEPROM