Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia enable ADMA2 data transfer mode
details: https://anonhg.NetBSD.org/src/rev/d727bd38cb10
branches: trunk
changeset: 809725:d727bd38cb10
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Wed Jul 29 12:11:32 2015 +0000
description:
enable ADMA2 data transfer mode
diffstat:
sys/arch/arm/nvidia/tegra_sdhc.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 97d3856d0f26 -r d727bd38cb10 sys/arch/arm/nvidia/tegra_sdhc.c
--- a/sys/arch/arm/nvidia/tegra_sdhc.c Wed Jul 29 12:11:13 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_sdhc.c Wed Jul 29 12:11:32 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_sdhc.c,v 1.8 2015/07/23 23:53:14 jmcneill Exp $ */
+/* $NetBSD: tegra_sdhc.c,v 1.9 2015/07/29 12:11:32 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_sdhc.c,v 1.8 2015/07/23 23:53:14 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_sdhc.c,v 1.9 2015/07/29 12:11:32 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -95,7 +95,8 @@
SDHC_FLAG_NO_CLKBASE |
SDHC_FLAG_NO_TIMEOUT |
SDHC_FLAG_SINGLE_POWER_WRITE |
- SDHC_FLAG_USE_DMA;
+ SDHC_FLAG_USE_DMA |
+ SDHC_FLAG_USE_ADMA2;
if (SDMMC_8BIT_P(loc->loc_port)) {
sc->sc.sc_flags |= SDHC_FLAG_8BIT_MODE;
}
Home |
Main Index |
Thread Index |
Old Index