]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/mach-at91/spl_at91.c
ARM: atmel: at91sam9x5ek: enable spl support
[karo-tx-uboot.git] / arch / arm / mach-at91 / spl_at91.c
index af6fc0d4c611e1b3183058e74b9418d07c2e6d9e..e28e568d9d77adcf8ae3a89cd93c71311a330205 100644 (file)
@@ -115,9 +115,14 @@ void board_init_f(ulong dummy)
        timer_init();
 
        /* enable clocks for all PIOs */
+#ifdef CONFIG_AT91SAM9X5
+       at91_periph_clk_enable(ATMEL_ID_PIOAB);
+       at91_periph_clk_enable(ATMEL_ID_PIOCD);
+#else
        at91_periph_clk_enable(ATMEL_ID_PIOA);
        at91_periph_clk_enable(ATMEL_ID_PIOB);
        at91_periph_clk_enable(ATMEL_ID_PIOC);
+#endif
        /* init console */
        at91_seriald_hw_init();
        preloader_console_init();