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 Fix idma_xferlen for A64/H5 eMMC host con...



details:   https://anonhg.NetBSD.org/src/rev/3f06dffa8d54
branches:  trunk
changeset: 828874:3f06dffa8d54
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Mon Jan 08 14:40:18 2018 +0000

description:
Fix idma_xferlen for A64/H5 eMMC host controller.

diffstat:

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

diffs (27 lines):

diff -r 1ae901119a5c -r 3f06dffa8d54 sys/arch/arm/sunxi/sunxi_mmc.c
--- a/sys/arch/arm/sunxi/sunxi_mmc.c    Mon Jan 08 14:39:33 2018 +0000
+++ b/sys/arch/arm/sunxi/sunxi_mmc.c    Mon Jan 08 14:40:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_mmc.c,v 1.18 2017/12/30 00:14:19 jmcneill Exp $ */
+/* $NetBSD: sunxi_mmc.c,v 1.19 2018/01/08 14:40:18 jakllsch 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.18 2017/12/30 00:14:19 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_mmc.c,v 1.19 2018/01/08 14:40:18 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -246,7 +246,7 @@
 };
 
 static const struct sunxi_mmc_config sun50i_a64_emmc_config = {
-       .idma_xferlen = 0x10000,
+       .idma_xferlen = 0x2000,
        .dma_ftrglevel = 0x20070008,
        .delays = NULL,
        .flags = SUNXI_MMC_FLAG_CALIB_REG,



Home | Main Index | Thread Index | Old Index