Module Name: src
Committed By: jakllsch
Date: Mon Jan 8 14:40:18 UTC 2018
Modified Files:
src/sys/arch/arm/sunxi: sunxi_mmc.c
Log Message:
Fix idma_xferlen for A64/H5 eMMC host controller.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/sunxi/sunxi_mmc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/sunxi/sunxi_mmc.c
diff -u src/sys/arch/arm/sunxi/sunxi_mmc.c:1.18 src/sys/arch/arm/sunxi/sunxi_mmc.c:1.19
--- src/sys/arch/arm/sunxi/sunxi_mmc.c:1.18 Sat Dec 30 00:14:19 2017
+++ src/sys/arch/arm/sunxi/sunxi_mmc.c Mon Jan 8 14:40:18 2018
@@ -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 <[email protected]>
@@ -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 sun
};
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,