[Sound-open-firmware] [PATCH] platform: cleanup platform header an remove unused macros

Liam Girdwood liam.r.girdwood at linux.intel.com
Thu Aug 10 17:56:47 CEST 2017


Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/platform/baytrail/include/platform/platform.h | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/src/platform/baytrail/include/platform/platform.h b/src/platform/baytrail/include/platform/platform.h
index fb1537a..493afd8 100644
--- a/src/platform/baytrail/include/platform/platform.h
+++ b/src/platform/baytrail/include/platform/platform.h
@@ -61,12 +61,10 @@ struct reef;
 #define PLATFORM_MAX_CHANNELS	4
 #define PLATFORM_MAX_STREAMS	5
 
+/* clock source used by scheduler for deadline calculations */
 #define PLATFORM_SCHED_CLOCK	CLK_SSP
 
-#define PLATFORM_NUM_MMAP_POSN	10
-#define PLATFORM_NUM_MMAP_VOL	10
-
-/* DMA channel drain timeout in microseconds */
+/* DMA channel drain timeout in microseconds - TODO: caclulate based on topology */
 #define PLATFORM_DMA_TIMEOUT	1333
 
 /* IPC page data copy timeout */
@@ -75,12 +73,6 @@ struct reef;
 /* WorkQ window size in microseconds */
 #define PLATFORM_WORKQ_WINDOW	2000
 
-/* Host finish work schedule delay in microseconds */
-#define PLATFORM_HOST_FINISH_DELAY	100
-
-/* Host finish work(drain from host to dai) timeout in microseconds */
-#define PLATFORM_HOST_FINISH_TIMEOUT	50000
-
 /* Platform defined panic code */
 #define platform_panic(__x) \
 		shim_write(SHIM_IPCXL, ((shim_read(SHIM_IPCXL) & 0xc0000000) |\
-- 
2.11.0



More information about the Sound-open-firmware mailing list