Anatolij Gustschin wrote: > On the at91sam9260ep development board there is an EEPROM > connected to the TWI interface (PA23, PA24 Peripheral A > multiplexing), so we cannot use these pins as ETX2, ETX3. > This patch configures PA10, PA11 pins for ETX2, ETX3 > instead of PA23, PA24 pins. > > Signed-off-by: Anatolij Gustschin <[EMAIL PROTECTED]> > Signed-off-by: Manuel Sahm <[EMAIL PROTECTED]> > --- > board/atmel/at91sam9260ek/at91sam9260ek.c | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a/board/atmel/at91sam9260ek/at91sam9260ek.c > b/board/atmel/at91sam9260ek/at91sam9260ek.c > index 836a0c4..06d8512 100644 > --- a/board/atmel/at91sam9260ek/at91sam9260ek.c > +++ b/board/atmel/at91sam9260ek/at91sam9260ek.c > @@ -188,8 +188,17 @@ static void at91sam9260ek_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) > There's a weakness in your software architecture if there are two compile paths in 'at91sam9260ek.c': one that has CONFIG_AT91SAM9260EK and one that doesn't. Maybe time for a new board variant or some file re-naming?
regards, Ben ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users