aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91cap9.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-10-13 13:37:09 -0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-11-28 09:50:38 -0500
commitfaee0cc33c3df3b63314926eecef77d384ae9cd4 (patch)
tree971935add9711984b519d5994de928dcee0c0c04 /arch/arm/mach-at91/at91cap9.c
parent4ab0c5998d327cba5b7e0dc8ce67f45859997669 (diff)
ARM: at91: make smc register base soc independent
now sam9_smc_configure will take as first parameter is the SMC id Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91cap9.c')
-rw-r--r--arch/arm/mach-at91/at91cap9.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91cap9.c b/arch/arm/mach-at91/at91cap9.c
index abfe36858a01..1ea931274bac 100644
--- a/arch/arm/mach-at91/at91cap9.c
+++ b/arch/arm/mach-at91/at91cap9.c
@@ -28,6 +28,7 @@
28#include "soc.h" 28#include "soc.h"
29#include "generic.h" 29#include "generic.h"
30#include "clock.h" 30#include "clock.h"
31#include "sam9_smc.h"
31 32
32/* -------------------------------------------------------------------- 33/* --------------------------------------------------------------------
33 * Clocks 34 * Clocks
@@ -336,6 +337,7 @@ static void __init at91cap9_map_io(void)
336static void __init at91cap9_ioremap_registers(void) 337static void __init at91cap9_ioremap_registers(void)
337{ 338{
338 at91sam926x_ioremap_pit(AT91CAP9_BASE_PIT); 339 at91sam926x_ioremap_pit(AT91CAP9_BASE_PIT);
340 at91sam9_ioremap_smc(0, AT91CAP9_BASE_SMC);
339} 341}
340 342
341static void __init at91cap9_initialize(void) 343static void __init at91cap9_initialize(void)