public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: sam9x5: fix ethernet pins in MII mode
@ 2013-02-28  9:42 Bo Shen
  2013-03-12 12:04 ` [U-Boot] " andreas.devel at googlemail.com
  0 siblings, 1 reply; 2+ messages in thread
From: Bo Shen @ 2013-02-28  9:42 UTC (permalink / raw)
  To: u-boot

From: Jesse Gilles <jgilles@multitech.com>

Fix pin setting in MII mode

Signed-off-by: Jesse Gilles <jgilles@multitech.com>
---
 arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c b/arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c
index d0d31da..3c58536 100644
--- a/arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c
+++ b/arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c
@@ -206,14 +206,14 @@ void at91_macb_hw_init(void)
 #ifndef CONFIG_RMII
 	/* Only emac0 support MII */
 	if (has_emac0()) {
-		at91_set_b_periph(AT91_PIO_PORTB, 16, 0);	/* ECRS */
-		at91_set_b_periph(AT91_PIO_PORTB, 17, 0);	/* ECOL */
-		at91_set_b_periph(AT91_PIO_PORTB, 13, 0);	/* ERX2 */
-		at91_set_b_periph(AT91_PIO_PORTB, 14, 0);	/* ERX3 */
-		at91_set_b_periph(AT91_PIO_PORTB, 15, 0);	/* ERXCK */
-		at91_set_b_periph(AT91_PIO_PORTB, 11, 0);	/* ETX2 */
-		at91_set_b_periph(AT91_PIO_PORTB, 12, 0);	/* ETX3 */
-		at91_set_b_periph(AT91_PIO_PORTB, 8, 0);	/* ETXER */
+		at91_set_a_periph(AT91_PIO_PORTB, 16, 0);	/* ECRS */
+		at91_set_a_periph(AT91_PIO_PORTB, 17, 0);	/* ECOL */
+		at91_set_a_periph(AT91_PIO_PORTB, 13, 0);	/* ERX2 */
+		at91_set_a_periph(AT91_PIO_PORTB, 14, 0);	/* ERX3 */
+		at91_set_a_periph(AT91_PIO_PORTB, 15, 0);	/* ERXCK */
+		at91_set_a_periph(AT91_PIO_PORTB, 11, 0);	/* ETX2 */
+		at91_set_a_periph(AT91_PIO_PORTB, 12, 0);	/* ETX3 */
+		at91_set_a_periph(AT91_PIO_PORTB, 8, 0);	/* ETXER */
 	}
 #endif
 }
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] ARM: sam9x5: fix ethernet pins in MII mode
  2013-02-28  9:42 [U-Boot] [PATCH] ARM: sam9x5: fix ethernet pins in MII mode Bo Shen
@ 2013-03-12 12:04 ` andreas.devel at googlemail.com
  0 siblings, 0 replies; 2+ messages in thread
From: andreas.devel at googlemail.com @ 2013-03-12 12:04 UTC (permalink / raw)
  To: u-boot

Dear Bo Shen,

Bo Shen <voice.shen@atmel.com> writes:
>From: Jesse Gilles <jgilles@multitech.com>
>
>Fix pin setting in MII mode
>
>Signed-off-by: Jesse Gilles <jgilles@multitech.com>
>
>---
>arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c |   16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-12 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-28  9:42 [U-Boot] [PATCH] ARM: sam9x5: fix ethernet pins in MII mode Bo Shen
2013-03-12 12:04 ` [U-Boot] " andreas.devel at googlemail.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox