Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/sunxi Enable new timings and HS200 mode on A64 ...



details:   https://anonhg.NetBSD.org/src/rev/ca35f47ab481
branches:  trunk
changeset: 836853:ca35f47ab481
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Nov 09 14:39:51 2018 +0000

description:
Enable new timings and HS200 mode on A64 eMMC

diffstat:

 sys/arch/arm/sunxi/sunxi_mmc.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 4499c93d56fe -r ca35f47ab481 sys/arch/arm/sunxi/sunxi_mmc.c
--- a/sys/arch/arm/sunxi/sunxi_mmc.c    Fri Nov 09 14:39:19 2018 +0000
+++ b/sys/arch/arm/sunxi/sunxi_mmc.c    Fri Nov 09 14:39:51 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_mmc.c,v 1.27 2018/09/03 16:29:24 riastradh Exp $ */
+/* $NetBSD: sunxi_mmc.c,v 1.28 2018/11/09 14:39:51 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_sunximmc.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_mmc.c,v 1.27 2018/09/03 16:29:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_mmc.c,v 1.28 2018/11/09 14:39:51 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -254,7 +254,9 @@
        .idma_xferlen = 0x2000,
        .dma_ftrglevel = 0x20070008,
        .delays = NULL,
-       .flags = SUNXI_MMC_FLAG_CALIB_REG,
+       .flags = SUNXI_MMC_FLAG_CALIB_REG |
+                SUNXI_MMC_FLAG_NEW_TIMINGS |
+                SUNXI_MMC_FLAG_HS200,
 };
 
 static const struct sunxi_mmc_config sun50i_h6_mmc_config = {



Home | Main Index | Thread Index | Old Index