Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/broadcom Don't set SDHC_HIGH_SPEED_SUPP in host...
details: https://anonhg.NetBSD.org/src/rev/3c37170ed24e
branches: trunk
changeset: 783834:3c37170ed24e
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Jan 10 03:59:22 2013 +0000
description:
Don't set SDHC_HIGH_SPEED_SUPP in host caps as many cards stop responding
after the switch to high speed mode.
diffstat:
sys/arch/arm/broadcom/bcm2835_emmc.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 999e2a1a2e4b -r 3c37170ed24e sys/arch/arm/broadcom/bcm2835_emmc.c
--- a/sys/arch/arm/broadcom/bcm2835_emmc.c Thu Jan 10 02:23:26 2013 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_emmc.c Thu Jan 10 03:59:22 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_emmc.c,v 1.5 2013/01/07 13:23:46 jmcneill Exp $ */
+/* $NetBSD: bcm2835_emmc.c,v 1.6 2013/01/10 03:59:22 jmcneill Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_emmc.c,v 1.5 2013/01/07 13:23:46 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_emmc.c,v 1.6 2013/01/10 03:59:22 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -87,8 +87,7 @@
sc->sc.sc_flags = 0;
sc->sc.sc_flags |= SDHC_FLAG_32BIT_ACCESS;
sc->sc.sc_flags |= SDHC_FLAG_HOSTCAPS;
- sc->sc.sc_caps = SDHC_VOLTAGE_SUPP_3_3V | SDHC_HIGH_SPEED_SUPP |
- SDHC_MAX_BLK_LEN_1024;
+ sc->sc.sc_caps = SDHC_VOLTAGE_SUPP_3_3V | SDHC_MAX_BLK_LEN_1024;
#if notyet
sc->sc.sc_flags |= SDHC_FLAG_USE_DMA;
sc->sc.sc_caps |= SDHC_DMA_SUPPORT;
Home |
Main Index |
Thread Index |
Old Index