diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-10-13 13:37:09 -0400 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-11-28 09:50:38 -0500 |
commit | faee0cc33c3df3b63314926eecef77d384ae9cd4 (patch) | |
tree | 971935add9711984b519d5994de928dcee0c0c04 /arch/arm/mach-at91/at91sam9263.c | |
parent | 4ab0c5998d327cba5b7e0dc8ce67f45859997669 (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/at91sam9263.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9263.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9263.c b/arch/arm/mach-at91/at91sam9263.c index 09ccf734c7d7..b8f49962e87f 100644 --- a/arch/arm/mach-at91/at91sam9263.c +++ b/arch/arm/mach-at91/at91sam9263.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include "soc.h" | 24 | #include "soc.h" |
25 | #include "generic.h" | 25 | #include "generic.h" |
26 | #include "clock.h" | 26 | #include "clock.h" |
27 | #include "sam9_smc.h" | ||
27 | 28 | ||
28 | /* -------------------------------------------------------------------- | 29 | /* -------------------------------------------------------------------- |
29 | * Clocks | 30 | * Clocks |
@@ -306,6 +307,8 @@ static void __init at91sam9263_map_io(void) | |||
306 | static void __init at91sam9263_ioremap_registers(void) | 307 | static void __init at91sam9263_ioremap_registers(void) |
307 | { | 308 | { |
308 | at91sam926x_ioremap_pit(AT91SAM9263_BASE_PIT); | 309 | at91sam926x_ioremap_pit(AT91SAM9263_BASE_PIT); |
310 | at91sam9_ioremap_smc(0, AT91SAM9263_BASE_SMC0); | ||
311 | at91sam9_ioremap_smc(1, AT91SAM9263_BASE_SMC1); | ||
309 | } | 312 | } |
310 | 313 | ||
311 | static void __init at91sam9263_initialize(void) | 314 | static void __init at91sam9263_initialize(void) |