[Sound-open-firmware] [RFC PATCH v2 8/8] trace: remove trace dmac id definition

Ranjani Sridharan ranjani.sridharan at linux.intel.com
Thu Jun 7 01:09:05 CEST 2018


The new dma_get() API procures a DMAC based on copy capability
requested. So no need to define the DMAC ID for
trace DMA anymore.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
---
 src/platform/apollolake/include/platform/platform.h | 3 ---
 src/platform/baytrail/include/platform/platform.h   | 3 ---
 src/platform/cannonlake/include/platform/platform.h | 3 ---
 src/platform/haswell/include/platform/platform.h    | 3 ---
 4 files changed, 12 deletions(-)

diff --git a/src/platform/apollolake/include/platform/platform.h b/src/platform/apollolake/include/platform/platform.h
index aefa9b2..e77bf6f 100644
--- a/src/platform/apollolake/include/platform/platform.h
+++ b/src/platform/apollolake/include/platform/platform.h
@@ -103,9 +103,6 @@ struct sof;
  */
 #define DMA_TRACE_RESCHEDULE_TIME	5000
 
-/* DMAC used for trace DMA */
-#define PLATFORM_TRACE_DMAC	DMA_HOST_IN_DMAC
-
 /* DSP should be idle in this time frame */
 #define PLATFORM_IDLE_TIME	750000
 
diff --git a/src/platform/baytrail/include/platform/platform.h b/src/platform/baytrail/include/platform/platform.h
index 6a7ebc9..8a7d0a3 100644
--- a/src/platform/baytrail/include/platform/platform.h
+++ b/src/platform/baytrail/include/platform/platform.h
@@ -95,9 +95,6 @@ struct sof;
  */
 #define DMA_TRACE_RESCHEDULE_TIME	5000
 
-/* DMAC used for trace DMA */
-#define PLATFORM_TRACE_DMAC	DMA_ID_DMAC0
-
 /* DSP should be idle in this time frame */
 #define PLATFORM_IDLE_TIME	750000
 
diff --git a/src/platform/cannonlake/include/platform/platform.h b/src/platform/cannonlake/include/platform/platform.h
index 35219d7..91c1f71 100644
--- a/src/platform/cannonlake/include/platform/platform.h
+++ b/src/platform/cannonlake/include/platform/platform.h
@@ -109,9 +109,6 @@ struct sof;
  */
 #define DMA_TRACE_RESCHEDULE_TIME	5000
 
-/* DMAC used for trace DMA */
-#define PLATFORM_TRACE_DMAC	DMA_HOST_IN_DMAC
-
 /* DSP should be idle in this time frame */
 #define PLATFORM_IDLE_TIME	750000
 
diff --git a/src/platform/haswell/include/platform/platform.h b/src/platform/haswell/include/platform/platform.h
index d30f329..768a63c 100644
--- a/src/platform/haswell/include/platform/platform.h
+++ b/src/platform/haswell/include/platform/platform.h
@@ -94,9 +94,6 @@ struct sof;
  */
 #define DMA_TRACE_RESCHEDULE_TIME	5000
 
-/* DMAC used for trace DMA */
-#define PLATFORM_TRACE_DMAC	DMA_ID_DMAC1
-
 /* DSP should be idle in this time frame */
 #define PLATFORM_IDLE_TIME	750000
 
-- 
2.17.1



More information about the Sound-open-firmware mailing list