Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/broadcom Don't pipeline any DMA writes to eMMC.
details: https://anonhg.NetBSD.org/src/rev/0600f2a2a13d
branches: trunk
changeset: 334919:0600f2a2a13d
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Mon Dec 15 08:17:15 2014 +0000
description:
Don't pipeline any DMA writes to eMMC.
Fixes PR/49463.
diffstat:
sys/arch/arm/broadcom/bcm2835_emmc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 9b1b4b793b6d -r 0600f2a2a13d sys/arch/arm/broadcom/bcm2835_emmc.c
--- a/sys/arch/arm/broadcom/bcm2835_emmc.c Mon Dec 15 07:35:09 2014 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_emmc.c Mon Dec 15 08:17:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_emmc.c,v 1.20 2014/11/25 14:30:05 skrll Exp $ */
+/* $NetBSD: bcm2835_emmc.c,v 1.21 2014/12/15 08:17:15 mlelstv Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_emmc.c,v 1.20 2014/11/25 14:30:05 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_emmc.c,v 1.21 2014/12/15 08:17:15 mlelstv Exp $");
#include "bcmdmac.h"
@@ -278,6 +278,7 @@
if ((sc->sc_cblk[seg].cb_txfr_len & 0xf) == 0)
sc->sc_cblk[seg].cb_ti |= DMAC_TI_SRC_WIDTH;
sc->sc_cblk[seg].cb_ti |= DMAC_TI_DEST_DREQ;
+ sc->sc_cblk[seg].cb_ti |= DMAC_TI_WAIT_RESP;
sc->sc_cblk[seg].cb_source_ad =
cmd->c_dmamap->dm_segs[seg].ds_addr;
sc->sc_cblk[seg].cb_dest_ad =
@@ -286,7 +287,6 @@
}
sc->sc_cblk[seg].cb_stride = 0;
if (seg == cmd->c_dmamap->dm_nsegs - 1) {
- sc->sc_cblk[seg].cb_ti |= DMAC_TI_WAIT_RESP;
sc->sc_cblk[seg].cb_ti |= DMAC_TI_INTEN;
sc->sc_cblk[seg].cb_nextconbk = 0;
} else {
Home |
Main Index |
Thread Index |
Old Index