Skip to contentSkip to conversation

spi: add DMA support for Intel Moorestown SPI controller

PATCH In review Feng Tang 1 participant 1 message Jun 15, 2009 SPI

lore
Share & tools
lore

Feng Tang

author
#0 lore raw

PATCH 2/2 spi: add DMA support for Intel Moorestown SPI controller

Quoted 1 line

From 6dbcddf7fefbef8b8828ecb358dc177f37685c46 Mon Sep 17 00:00:00 2001

From: Feng Tang <[email protected]>
Date: Mon, 15 Jun 2009 17:00:11 +0800
Subject: [PATCH 2/2] spi: add DMA support for Intel Moorestown SPI controller

The DMA has been only tested with the DMA controller 2 on the Moorestown platform

---
 drivers/spi/Kconfig    |    7 ++
 drivers/spi/mrst_spi.c |  208 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 215 insertions(+), 0 deletions(-)
drivers/spi/Kconfig +7 -0
index e1cba00..f7d82ea 100644
@@ -229,6 +229,13 @@ config SPI_MRST
 	  The controller is a PCI device, and its core is a Synopsis
 	  DesignWare SPI controller.
 
+config SPI_MRST_DMA
+	boolean "Enable DMA for MRST SPI0 controller"
+	default y
+	depends on SPI_MRST && INTEL_LNW_DMAC2
+	help
+	  This has to be enabled after Moorestown DMAC2 driver is enabled
+
 #
 # Add new SPI master controllers in alphabetical order above this line
 #
drivers/spi/mrst_spi.c +208 -0

251 lines not on this page · raw message

Signature · 8 lines
1.5.6.3

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects