Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap TI_AM335X SDHCI does not need SDHC_FLAG_SI...
details: https://anonhg.NetBSD.org/src/rev/a28fac44e45d
branches: trunk
changeset: 783464:a28fac44e45d
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Dec 23 18:34:01 2012 +0000
description:
TI_AM335X SDHCI does not need SDHC_FLAG_SINGLE_ONLY. This was
drastically hindering transfer rate performance.
I suspect SDHC_FLAG_SINGLE_ONLY is bogus on most/all other TI-flavored
SDHCI cores as well, but I am unable to confirm.
diffstat:
sys/arch/arm/omap/omap3_sdhc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 47cf54f0fc7f -r a28fac44e45d sys/arch/arm/omap/omap3_sdhc.c
--- a/sys/arch/arm/omap/omap3_sdhc.c Sun Dec 23 18:26:16 2012 +0000
+++ b/sys/arch/arm/omap/omap3_sdhc.c Sun Dec 23 18:34:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap3_sdhc.c,v 1.6 2012/12/13 06:43:38 riastradh Exp $ */
+/* $NetBSD: omap3_sdhc.c,v 1.7 2012/12/23 18:34:01 jakllsch Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap3_sdhc.c,v 1.6 2012/12/13 06:43:38 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap3_sdhc.c,v 1.7 2012/12/23 18:34:01 jakllsch Exp $");
#include "opt_omap.h"
@@ -152,6 +152,7 @@
sc->sc.sc_flags |= SDHC_FLAG_SINGLE_ONLY;
#ifdef TI_AM335X
sc->sc.sc_flags |= SDHC_FLAG_WAIT_RESET;
+ sc->sc.sc_flags &= ~SDHC_FLAG_SINGLE_ONLY;
#endif
sc->sc.sc_host = sc->sc_hosts;
sc->sc.sc_clkbase = 96000; /* 96MHZ */
Home |
Main Index |
Thread Index |
Old Index