]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
afeb9260: fix macb device init
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 16 May 2009 08:02:05 +0000 (10:02 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:39:52 +0000 (20:39 +0200)
uses PA10, PA11 for ETX2 and ETX3.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/arm926ejs/at91/at91sam9260_devices.c

index 6dc0acc624a03674ffe8c9ac4a49376091a5f4f4..5309ba282a5272135581942047af15a3bfad19f7 100644 (file)
@@ -167,7 +167,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