* [U-Boot] [PATCH][Re-submission] AFEB9260 network fix
@ 2009-05-12 8:25 Sergey Lapin
2009-05-12 23:16 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 3+ messages in thread
From: Sergey Lapin @ 2009-05-12 8:25 UTC (permalink / raw)
To: u-boot
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>
---
board/afeb9260/afeb9260.c | 2 +-
cpu/arm926ejs/at91/at91sam9260_macb.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/afeb9260/afeb9260.c b/board/afeb9260/afeb9260.c
index 024db2b..a247663 100644
--- a/board/afeb9260/afeb9260.c
+++ b/board/afeb9260/afeb9260.c
@@ -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;
}
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
--
1.5.6.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH][Re-submission] AFEB9260 network fix
2009-05-12 8:25 [U-Boot] [PATCH][Re-submission] AFEB9260 network fix Sergey Lapin
@ 2009-05-12 23:16 ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-15 8:23 ` Sergey Lapin
0 siblings, 1 reply; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2009-05-12 23:16 UTC (permalink / raw)
To: u-boot
On 12:25 Tue 12 May , Sergey Lapin wrote:
> 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>
> ---
Applied to arm
Best Regards,
J.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH][Re-submission] AFEB9260 network fix
2009-05-12 23:16 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2009-05-15 8:23 ` Sergey Lapin
0 siblings, 0 replies; 3+ messages in thread
From: Sergey Lapin @ 2009-05-15 8:23 UTC (permalink / raw)
To: u-boot
On Wed, May 13, 2009 at 01:16:51AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 12:25 Tue 12 May , Sergey Lapin wrote:
> > 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>
> > ---
> Applied to arm
Thanks a lot!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-15 8:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-12 8:25 [U-Boot] [PATCH][Re-submission] AFEB9260 network fix Sergey Lapin
2009-05-12 23:16 ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-15 8:23 ` Sergey Lapin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox