summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-05-06 04:09:42 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-05-06 04:09:42 +0000
commit685d7427a0543775cb0b92729b6c1da24ce03436 (patch)
tree767ef77a36fe566a037fddd9bd6252573c001dbe
parente08e8b60c7d5258410e1ba5508e0cb777c8ca54e (diff)
enable dwmmc(4)
-rw-r--r--sys/arch/riscv64/conf/GENERIC3
-rw-r--r--sys/arch/riscv64/conf/RAMDISK5
-rw-r--r--sys/arch/riscv64/conf/files.riscv643
3 files changed, 8 insertions, 3 deletions
diff --git a/sys/arch/riscv64/conf/GENERIC b/sys/arch/riscv64/conf/GENERIC
index 1aac99a6de9..bacf03af089 100644
--- a/sys/arch/riscv64/conf/GENERIC
+++ b/sys/arch/riscv64/conf/GENERIC
@@ -51,6 +51,9 @@ sfcc* at fdt? early 1
syscon* at fdt? early 1
gfrtc* at fdt?
+dwmmc* at fdt?
+sdmmc* at dwmmc?
+
scsibus* at scsi?
sd* at scsibus?
cd* at scsibus?
diff --git a/sys/arch/riscv64/conf/RAMDISK b/sys/arch/riscv64/conf/RAMDISK
index 6c9f1a2e7fb..b8b94ff2900 100644
--- a/sys/arch/riscv64/conf/RAMDISK
+++ b/sys/arch/riscv64/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.7 2021/05/05 19:26:51 kettenis Exp $
+# $OpenBSD: RAMDISK,v 1.8 2021/05/06 04:09:41 jsg Exp $
#
# GENERIC machine description file
#
@@ -70,6 +70,9 @@ sfcc* at fdt? early 1
syscon* at fdt? early 1
gfrtc* at fdt?
+dwmmc* at fdt?
+sdmmc* at dwmmc?
+
scsibus* at scsi?
sd* at scsibus?
cd* at scsibus?
diff --git a/sys/arch/riscv64/conf/files.riscv64 b/sys/arch/riscv64/conf/files.riscv64
index f137da9c369..b2988a3534a 100644
--- a/sys/arch/riscv64/conf/files.riscv64
+++ b/sys/arch/riscv64/conf/files.riscv64
@@ -102,6 +102,7 @@ include "dev/i2c/files.i2c"
# FDT now requires drm (which is part of pci)
include "dev/mii/files.mii"
include "dev/pci/files.pci"
+include "dev/sdmmc/files.sdmmc"
# FDT support
include "dev/ofw/files.ofw"
@@ -111,5 +112,3 @@ include "dev/fdt/files.fdt"
# Machine-independent SCSI drivers
include "scsi/files.scsi"
-
-# XXX ofwbus