summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-06-18 09:59:36 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-06-18 09:59:36 +0000
commit3cf9a9daf049acc0fdc14eef9e6541f6cdeea457 (patch)
tree1ed26e35111c8e49748c2e730fddd2d61c5fade5
parentfb1480679e84094bc322164a241adc2364432552 (diff)
Stop setting the 4-bit mode capability flag for now.
Writing to the bbb emmc (but not reading) gives errors otherwise. This does not occur with an sd card on bbb but apparently does on panda.
-rw-r--r--sys/arch/armv7/omap/ommmc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/armv7/omap/ommmc.c b/sys/arch/armv7/omap/ommmc.c
index 38162cf1f8d..dc48281b501 100644
--- a/sys/arch/armv7/omap/ommmc.c
+++ b/sys/arch/armv7/omap/ommmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ommmc.c,v 1.23 2016/06/18 05:59:26 jsg Exp $ */
+/* $OpenBSD: ommmc.c,v 1.24 2016/06/18 09:59:35 jsg Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
@@ -434,7 +434,6 @@ ommmc_attach(struct device *parent, struct device *self, void *aux)
saa.saa_busname = "sdmmc";
saa.sct = &ommmc_functions;
saa.sch = sc;
- saa.caps = SMC_CAPS_4BIT_MODE;
if (caps & MMCHS_CAPA_HSS)
saa.caps |= SMC_CAPS_MMC_HIGHSPEED;