summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-vexpress/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-vexpress/devices.c')
-rw-r--r--arch/arm/mach-vexpress/devices.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/mach-vexpress/devices.c b/arch/arm/mach-vexpress/devices.c
index 6ccce5261f..5b53011924 100644
--- a/arch/arm/mach-vexpress/devices.c
+++ b/arch/arm/mach-vexpress/devices.c
@@ -20,7 +20,6 @@ void vexpress_a9_legacy_add_ddram(u32 ddr0_size, u32 ddr1_size)
arm_add_mem_device("ram1", 0x80000000, ddr1_size);
}
-
void vexpress_a9_legacy_register_uart(unsigned id)
{
resource_size_t start;
@@ -44,6 +43,12 @@ void vexpress_a9_legacy_register_uart(unsigned id)
amba_apb_device_add(NULL, "uart-pl011", id, start, 4096, NULL, 0);
}
+void vexpress_a9_legacy_register_mmc(struct mmci_platform_data *plat)
+{
+ amba_apb_device_add(NULL, "mmci-pl18x", DEVICE_ID_SINGLE, 0x10005000,
+ 4096, plat, 0);
+}
+
void vexpress_add_ddram(u32 size)
{
arm_add_mem_device("ram1", 0x80000000, size);
@@ -71,3 +76,8 @@ void vexpress_register_uart(unsigned id)
}
amba_apb_device_add(NULL, "uart-pl011", id, start, 4096, NULL, 0);
}
+
+void vexpress_register_mmc(struct mmci_platform_data *plat)
+{
+ amba_apb_device_add(NULL, "mmci-pl18x", DEVICE_ID_SINGLE, 0x1c050000, 4096, plat, 0);
+}