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 dont set SDHC_FLAG_SINGLE_ONLY for OMAP353...



details:   https://anonhg.NetBSD.org/src/rev/2cd78838386b
branches:  trunk
changeset: 783552:2cd78838386b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Dec 29 00:05:45 2012 +0000

description:
dont set SDHC_FLAG_SINGLE_ONLY for OMAP3530 either

diffstat:

 sys/arch/arm/omap/omap3_sdhc.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 9e92dde5db47 -r 2cd78838386b sys/arch/arm/omap/omap3_sdhc.c
--- a/sys/arch/arm/omap/omap3_sdhc.c    Fri Dec 28 23:24:47 2012 +0000
+++ b/sys/arch/arm/omap/omap3_sdhc.c    Sat Dec 29 00:05:45 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: omap3_sdhc.c,v 1.7 2012/12/23 18:34:01 jakllsch Exp $  */
+/*     $NetBSD: omap3_sdhc.c,v 1.8 2012/12/29 00:05:45 jmcneill 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.7 2012/12/23 18:34:01 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap3_sdhc.c,v 1.8 2012/12/29 00:05:45 jmcneill Exp $");
 
 #include "opt_omap.h"
 
@@ -154,6 +154,9 @@
        sc->sc.sc_flags |= SDHC_FLAG_WAIT_RESET;
        sc->sc.sc_flags &= ~SDHC_FLAG_SINGLE_ONLY;
 #endif
+#ifdef OMAP_3530
+       sc->sc.sc_flags &= ~SDHC_FLAG_SINGLE_ONLY;
+#endif
        sc->sc.sc_host = sc->sc_hosts;
        sc->sc.sc_clkbase = 96000;      /* 96MHZ */
        if (!prop_dictionary_get_uint32(prop, "clkmask", &sc->sc.sc_clkmsk))



Home | Main Index | Thread Index | Old Index