summaryrefslogtreecommitdiffstats
path: root/sys/arm/altera
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/altera')
-rw-r--r--sys/arm/altera/socfpga/files.socfpga1
-rw-r--r--sys/arm/altera/socfpga/socfpga_machdep.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/altera/socfpga/files.socfpga b/sys/arm/altera/socfpga/files.socfpga
index c420617..df92bff 100644
--- a/sys/arm/altera/socfpga/files.socfpga
+++ b/sys/arm/altera/socfpga/files.socfpga
@@ -19,3 +19,4 @@ arm/altera/socfpga/socfpga_manager.c standard
arm/altera/socfpga/socfpga_rstmgr.c standard
dev/dwc/if_dwc.c optional dwc
+dev/mmc/host/dwmmc.c optional dwmmc
diff --git a/sys/arm/altera/socfpga/socfpga_machdep.c b/sys/arm/altera/socfpga/socfpga_machdep.c
index b098663..703c88a 100644
--- a/sys/arm/altera/socfpga/socfpga_machdep.c
+++ b/sys/arm/altera/socfpga/socfpga_machdep.c
@@ -89,6 +89,9 @@ platform_devmap_init(void)
*/
arm_devmap_add_entry(0xffb00000, 0x100000);
+ /* dwmmc */
+ arm_devmap_add_entry(0xff700000, 0x100000);
+
return (0);
}
OpenPOWER on IntegriCloud