summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/spl_at91.c
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2015-03-27 14:23:36 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-04-01 01:04:31 +0200
commitff255e836a3a6cd52bd51a192af96ac5f224dc22 (patch)
treeda9a38c164467a282ccd3e9848bfad029ad797ee /arch/arm/mach-at91/spl_at91.c
parentd85e8914b379eb3c4d66be241fee29da50166aa2 (diff)
downloadtalos-obmc-uboot-ff255e836a3a6cd52bd51a192af96ac5f224dc22.tar.gz
talos-obmc-uboot-ff255e836a3a6cd52bd51a192af96ac5f224dc22.zip
ARM: atmel: at91sam9n12ek: enable spl support
Enable SPL support for at91sam9n12ek boards, now it supports boot up from NAND flash, serial flash. Signed-off-by: Bo Shen <voice.shen@atmel.com>
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
OpenPOWER on IntegriCloud