Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/fdt Add SDHC_FLAG_SINGLE_POWER_WRITE and SDHC_FLAG_3...



details:   https://anonhg.NetBSD.org/src/rev/06f57ae9cd7e
branches:  trunk
changeset: 962199:06f57ae9cd7e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Jul 03 23:10:43 2019 +0000

description:
Add SDHC_FLAG_SINGLE_POWER_WRITE and SDHC_FLAG_32BIT_ACCESS flags

diffstat:

 sys/dev/fdt/arasan_sdhc_fdt.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 4cf962735a36 -r 06f57ae9cd7e sys/dev/fdt/arasan_sdhc_fdt.c
--- a/sys/dev/fdt/arasan_sdhc_fdt.c     Wed Jul 03 23:10:08 2019 +0000
+++ b/sys/dev/fdt/arasan_sdhc_fdt.c     Wed Jul 03 23:10:43 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arasan_sdhc_fdt.c,v 1.2 2019/07/03 19:46:02 jmcneill Exp $ */
+/* $NetBSD: arasan_sdhc_fdt.c,v 1.3 2019/07/03 23:10:43 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arasan_sdhc_fdt.c,v 1.2 2019/07/03 19:46:02 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arasan_sdhc_fdt.c,v 1.3 2019/07/03 23:10:43 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -279,6 +279,8 @@
        sc->sc_base.sc_dev = self;
        sc->sc_base.sc_host = sc->sc_host;
        sc->sc_base.sc_flags = SDHC_FLAG_NO_CLKBASE |
+                              SDHC_FLAG_SINGLE_POWER_WRITE |
+                              SDHC_FLAG_32BIT_ACCESS |
                               SDHC_FLAG_USE_DMA |
                               SDHC_FLAG_USE_ADMA2 |
                               SDHC_FLAG_STOP_WITH_TC;



Home | Main Index | Thread Index | Old Index