summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-06-04 10:33:52 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-06-04 10:33:52 +0000
commit56c2bc828ac64d3056a3146cb7a9a13ad56ac310 (patch)
tree81e55eb0b65971f4e5422dd39b38840796b404aa /sys/dev/fdt
parent90697a7e75cf73e23937d527ff2729b8554b8902 (diff)
imxesdhc(4) also supports High Speed mode for SD.
ok kettenis@
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/imxesdhc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/imxesdhc.c b/sys/dev/fdt/imxesdhc.c
index ec43886cc24..4f499e47330 100644
--- a/sys/dev/fdt/imxesdhc.c
+++ b/sys/dev/fdt/imxesdhc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxesdhc.c,v 1.6 2018/05/30 13:32:40 patrick Exp $ */
+/* $OpenBSD: imxesdhc.c,v 1.7 2018/06/04 10:33:51 patrick Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -436,7 +436,7 @@ imxesdhc_attach(struct device *parent, struct device *self, void *aux)
saa.caps |= SMC_CAPS_DMA;
if (caps & SDHC_HOST_CTRL_CAP_HSS)
- saa.caps |= SMC_CAPS_MMC_HIGHSPEED;
+ saa.caps |= SMC_CAPS_MMC_HIGHSPEED | SMC_CAPS_SD_HIGHSPEED;
width = OF_getpropint(sc->sc_node, "bus-width", 1);
if (width >= 8)