aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-sam9g20ek.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/board-sam9g20ek.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/board-sam9g20ek.c')
-rw-r--r--arch/arm/mach-at91/board-sam9g20ek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c
index 64fc75c9d0ac..0579f069d97b 100644
--- a/arch/arm/mach-at91/board-sam9g20ek.c
+++ b/arch/arm/mach-at91/board-sam9g20ek.c
@@ -195,7 +195,7 @@ static void __init ek_add_device_nand(void)
195 ek_nand_smc_config.mode |= AT91_SMC_DBW_8; 195 ek_nand_smc_config.mode |= AT91_SMC_DBW_8;
196 196
197 /* configure chip-select 3 (NAND) */ 197 /* configure chip-select 3 (NAND) */
198 sam9_smc_configure(3, &ek_nand_smc_config); 198 sam9_smc_configure(0, 3, &ek_nand_smc_config);
199 199
200 at91_add_device_nand(&ek_nand_data); 200 at91_add_device_nand(&ek_nand_data);
201} 201}