summaryrefslogtreecommitdiff
path: root/arch/arm/mach-cns3xxx/cns3420vb.c
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@mvista.com>2010-05-28 13:14:44 +0400
committerAnton Vorontsov <avorontsov@mvista.com>2010-06-08 17:37:09 +0400
commit6279d0ea928911f7c747a65e880c36a91b066805 (patch)
tree801dbd4b9cb7006f6bb628f88cb2071522f090e7 /arch/arm/mach-cns3xxx/cns3420vb.c
parent5f32f7a028c9e8e032132b1818bde6cda5785a6b (diff)
ARM: cns3xxx: Add support for SDHCI controllers
CNS3xxx chips have SDHCI-compatible SDIO/SD/MMC controller. This patch adds the support using sdhci-cns3xxx driver. Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Diffstat (limited to 'arch/arm/mach-cns3xxx/cns3420vb.c')
-rw-r--r--arch/arm/mach-cns3xxx/cns3420vb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-cns3xxx/cns3420vb.c b/arch/arm/mach-cns3xxx/cns3420vb.c
index 2e30c8288740..04ae1ced60f0 100644
--- a/arch/arm/mach-cns3xxx/cns3420vb.c
+++ b/arch/arm/mach-cns3xxx/cns3420vb.c
@@ -32,6 +32,7 @@
#include <mach/cns3xxx.h>
#include <mach/irqs.h>
#include "core.h"
+#include "devices.h"
/*
* NOR Flash
@@ -117,6 +118,8 @@ static void __init cns3420_init(void)
{
platform_add_devices(cns3420_pdevs, ARRAY_SIZE(cns3420_pdevs));
+ cns3xxx_sdhci_init();
+
pm_power_off = cns3xxx_power_off;
}