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 reinstate SDHC_HIGH_SPEED_SUPP capabil...
details: https://anonhg.NetBSD.org/src/rev/a92e328965b4
branches: trunk
changeset: 783852:a92e328965b4
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Jan 10 17:21:36 2013 +0000
description:
reinstate SDHC_HIGH_SPEED_SUPP capability, and add SDHC_FLAG_NO_HS_BIT flag to workaround bcm2835 sdhc issue with many high speed cards
diffstat:
sys/arch/arm/broadcom/bcm2835_emmc.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 0c445b35c892 -r a92e328965b4 sys/arch/arm/broadcom/bcm2835_emmc.c
--- a/sys/arch/arm/broadcom/bcm2835_emmc.c Thu Jan 10 17:19:33 2013 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_emmc.c Thu Jan 10 17:21:36 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_emmc.c,v 1.6 2013/01/10 03:59:22 jmcneill Exp $ */
+/* $NetBSD: bcm2835_emmc.c,v 1.7 2013/01/10 17:21:36 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.6 2013/01/10 03:59:22 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_emmc.c,v 1.7 2013/01/10 17:21:36 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -87,7 +87,9 @@
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_MAX_BLK_LEN_1024;
+ sc->sc.sc_flags |= SDHC_FLAG_NO_HS_BIT;
+ sc->sc.sc_caps = SDHC_VOLTAGE_SUPP_3_3V | SDHC_HIGH_SPEED_SUPP |
+ 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