Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/imx Add SDHC_FLAG_USE_DMA flag for internal DMA...
details: https://anonhg.NetBSD.org/src/rev/0f8e83146f10
branches: trunk
changeset: 338466:0f8e83146f10
user: hkenken <hkenken%NetBSD.org@localhost>
date: Tue May 26 05:11:33 2015 +0000
description:
Add SDHC_FLAG_USE_DMA flag for internal DMA mode.
diffstat:
sys/arch/arm/imx/imx51_esdhc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 25c07360de54 -r 0f8e83146f10 sys/arch/arm/imx/imx51_esdhc.c
--- a/sys/arch/arm/imx/imx51_esdhc.c Tue May 26 02:18:20 2015 +0000
+++ b/sys/arch/arm/imx/imx51_esdhc.c Tue May 26 05:11:33 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imx51_esdhc.c,v 1.2 2014/03/22 09:46:33 hkenken Exp $ */
+/* $NetBSD: imx51_esdhc.c,v 1.3 2015/05/26 05:11:33 hkenken Exp $ */
/*-
* Copyright (c) 2012 Genetec Corporation. All rights reserved.
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx51_esdhc.c,v 1.2 2014/03/22 09:46:33 hkenken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx51_esdhc.c,v 1.3 2015/05/26 05:11:33 hkenken Exp $");
#include "opt_imx.h"
@@ -117,6 +117,7 @@
break;;
}
sc->sc_sdhc.sc_clkbase = perclk / 1000;
+ sc->sc_sdhc.sc_flags |= SDHC_FLAG_USE_DMA;
sc->sc_sdhc.sc_flags |= SDHC_FLAG_HAVE_DVS |
SDHC_FLAG_NO_PWR0 |
SDHC_FLAG_32BIT_ACCESS |
Home |
Main Index |
Thread Index |
Old Index