summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/spl_at91.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/spl_at91.c')
-rw-r--r--arch/arm/mach-at91/spl_at91.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/spl_at91.c b/arch/arm/mach-at91/spl_at91.c
index e28e568d9d..a79a9dce75 100644
--- a/arch/arm/mach-at91/spl_at91.c
+++ b/arch/arm/mach-at91/spl_at91.c
@@ -115,7 +115,7 @@ void board_init_f(ulong dummy)
timer_init();
/* enable clocks for all PIOs */
-#ifdef CONFIG_AT91SAM9X5
+#if defined(CONFIG_AT91SAM9X5) || defined(CONFIG_AT91SAM9N12)
at91_periph_clk_enable(ATMEL_ID_PIOAB);
at91_periph_clk_enable(ATMEL_ID_PIOCD);
#else