Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia Set SDHC_FLAG_NO_HS_BIT for Tegra sdhc. ...
details: https://anonhg.NetBSD.org/src/rev/13cba5175eca
branches: trunk
changeset: 352808:13cba5175eca
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Apr 11 11:06:02 2017 +0000
description:
Set SDHC_FLAG_NO_HS_BIT for Tegra sdhc. No noticeable impact on performance
and it seems to get rid of the spurious data transfer timeouts.
diffstat:
sys/arch/arm/nvidia/tegra_sdhc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 721e419656c2 -r 13cba5175eca sys/arch/arm/nvidia/tegra_sdhc.c
--- a/sys/arch/arm/nvidia/tegra_sdhc.c Tue Apr 11 07:51:37 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_sdhc.c Tue Apr 11 11:06:02 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_sdhc.c,v 1.15 2015/12/22 22:10:36 jmcneill Exp $ */
+/* $NetBSD: tegra_sdhc.c,v 1.16 2017/04/11 11:06:02 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_sdhc.c,v 1.15 2015/12/22 22:10:36 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_sdhc.c,v 1.16 2017/04/11 11:06:02 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -108,6 +108,7 @@
SDHC_FLAG_NO_CLKBASE |
SDHC_FLAG_NO_TIMEOUT |
SDHC_FLAG_SINGLE_POWER_WRITE |
+ SDHC_FLAG_NO_HS_BIT |
SDHC_FLAG_USE_DMA |
SDHC_FLAG_USE_ADMA2;
if (bus_width == 8) {
Home |
Main Index |
Thread Index |
Old Index