summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-usb-a926x.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD2011-10-13 19:37:09 +0200
committerJean-Christophe PLAGNIOL-VILLARD2011-11-28 15:50:38 +0100
commitfaee0cc33c3df3b63314926eecef77d384ae9cd4 (patch)
tree971935add9711984b519d5994de928dcee0c0c04 /arch/arm/mach-at91/board-usb-a926x.c
parentARM: at91: make pit register base soc independent (diff)
downloadkernel-qcow2-linux-faee0cc33c3df3b63314926eecef77d384ae9cd4.tar.gz
kernel-qcow2-linux-faee0cc33c3df3b63314926eecef77d384ae9cd4.tar.xz
kernel-qcow2-linux-faee0cc33c3df3b63314926eecef77d384ae9cd4.zip
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-usb-a926x.c')
-rw-r--r--arch/arm/mach-at91/board-usb-a926x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/board-usb-a926x.c b/arch/arm/mach-at91/board-usb-a926x.c
index 0a20bab21f99..6f893cf4d336 100644
--- a/arch/arm/mach-at91/board-usb-a926x.c
+++ b/arch/arm/mach-at91/board-usb-a926x.c
@@ -245,9 +245,9 @@ static void __init ek_add_device_nand(void)
/* configure chip-select 3 (NAND) */
if (machine_is_usb_a9g20())
- sam9_smc_configure(3, &usb_a9g20_nand_smc_config);
+ sam9_smc_configure(0, 3, &usb_a9g20_nand_smc_config);
else
- sam9_smc_configure(3, &usb_a9260_nand_smc_config);
+ sam9_smc_configure(0, 3, &usb_a9260_nand_smc_config);
at91_add_device_nand(&ek_nand_data);
}