summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2021-09-11 22:42:13 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2021-09-11 22:42:13 +0000
commit79738b56ac25fe48903bc0150afb205645099877 (patch)
tree04d2ffb6b6d153fcd14670344bf40044d1573f78 /sys/dev/fdt
parent94a7277236692ebb14fe5be80393dbc2a8702e96 (diff)
Don't set the highspeed bit on bcm2835-sdhci sdhc(4) controllers.
Same approach as on Linux and NetBSD. This fixes bwfm(4) Wi-Fi on the Raspberry Pi 3 Model B Plus. help and ok kettenis@
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/sdhc_fdt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdt/sdhc_fdt.c b/sys/dev/fdt/sdhc_fdt.c
index 9633d6630c2..6cc8beaaed4 100644
--- a/sys/dev/fdt/sdhc_fdt.c
+++ b/sys/dev/fdt/sdhc_fdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdhc_fdt.c,v 1.16 2021/05/03 13:11:40 visa Exp $ */
+/* $OpenBSD: sdhc_fdt.c,v 1.17 2021/09/11 22:42:12 mglocker Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
*
@@ -249,6 +249,7 @@ sdhc_fdt_attach(struct device *parent, struct device *self, void *aux)
sc->sc.sc_clkbase = freq / 1000;
sc->sc.sc_flags |= SDHC_F_32BIT_ACCESS;
+ sc->sc.sc_flags |= SDHC_F_NO_HS_BIT;
}
if (OF_is_compatible(faa->fa_node, "marvell,armada-3700-sdhci") ||