Skip to contentSkip to conversation

AFEB9260 network fix

PATCH New Sergey Lapin 2 participants 2 messages May 11, 2009 – May 12, 2009 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 AFEB9260 network fix

---
 board/afeb9260/afeb9260.c             |    2 +-
 cpu/arm926ejs/at91/at91sam9260_macb.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
board/afeb9260/afeb9260.c +1 -1
index 024db2b..a247663 100644
@@ -177,7 +177,7 @@ int board_eth_init(bd_t *bis)
 {
 	int rc = 0;
 #ifdef CONFIG_MACB
-	rc = macb_eth_initialize(0, (void *)AT91SAM9260_BASE_EMAC, 0x00);
+	rc = macb_eth_initialize(0, (void *)AT91SAM9260_BASE_EMAC, 0x01);
 #endif
 	return rc;
 }
cpu/arm926ejs/at91/at91sam9260_macb.c +1 -1
index ab60fb7..ea5e767 100644
@@ -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
Signature · 1 line
1.5.6.5