
In message 47DA976A.6000309@miromico.ch you wrote:
This patch adds support for our new AVR32 based board.
...
diff -Nur old/u-boot-avr32/cpu/at32ap/at32ap700x/gpio.c new/u-boot-avr32/cpu/at32ap/at32ap700x/gpio.c --- old/u-boot-avr32/cpu/at32ap/at32ap700x/gpio.c 2008-03-14 14:40:30.000000000 +0100 +++ new/u-boot-avr32/cpu/at32ap/at32ap700x/gpio.c 2008-03-14 15:34:43.000000000 +0100 @@ -142,3 +142,14 @@ gpio_select_periph_A(GPIO_PIN_PA15, 0); /* DATA3 */ } #endif
+#ifdef CONFIG_HAMMERHEAD +/*
- Hammerhead board uses GCLK3 (Periph A on PB29) as 25MHz clock output
- for ethernet PHY.
- */
+void gpio_enable_gclk3(void) +{
gpio_select_periph_A(GPIO_PIN_PB29, 0); /* GCLK3 */
^^^^^^^^^^
Indentation not by TAB.
--- old/u-boot-avr32/net/eth.c 2008-03-14 14:40:32.000000000 +0100 +++ new/u-boot-avr32/net/eth.c 2008-03-14 16:04:58.000000000 +0100 @@ -64,6 +64,7 @@ extern int mcffec_initialize(bd_t*); extern int mcdmafec_initialize(bd_t*); extern int at91cap9_eth_initialize(bd_t *); +extern int board_eth_initialize(bd_t *);
#ifdef CONFIG_API extern void (*push_packet)(volatile void *, int); @@ -288,6 +289,8 @@ at91cap9_eth_initialize(bis); #endif
- board_eth_initialize(bis);
Hm... did you really check if other boards still build? Did you run the MAKEALL script?
Best regards,
Wolfgang Denk