Move the platform SSP configs into a the static pipeline
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/audio/pipeline_static.c | 6 ++++++ src/platform/baytrail/include/platform/platform.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/audio/pipeline_static.c b/src/audio/pipeline_static.c index 9723718..b6f17ae 100644 --- a/src/audio/pipeline_static.c +++ b/src/audio/pipeline_static.c @@ -66,6 +66,12 @@ #define PLAT_INT_PERIOD_FRAMES 48 /* must be multiple of DMA+DEV burst size */ #define PLAT_INT_PERIODS 2 /* give enough latency for DMA refill */
+/* default static pipeline SSP port - not used for dynamic pipes */ +#define PLATFORM_SSP_PORT 2 + +/* default SSP stream format - need aligned with codec setting*/ +#define PLATFORM_SSP_STREAM_FORMAT SOF_IPC_FRAME_S24_4LE + /* * Static Buffer Convenience Constructors. */ diff --git a/src/platform/baytrail/include/platform/platform.h b/src/platform/baytrail/include/platform/platform.h index 7eadb8b..fb1537a 100644 --- a/src/platform/baytrail/include/platform/platform.h +++ b/src/platform/baytrail/include/platform/platform.h @@ -38,12 +38,6 @@
struct reef;
-/* default static pipeline SSP port - not used for dynamic pipes */ -#define PLATFORM_SSP_PORT 2 - -/* default SSP stream format - need aligned with codec setting*/ -#define PLATFORM_SSP_STREAM_FORMAT SOF_IPC_FRAME_S24_4LE - /* IPC Interrupt */ #define PLATFORM_IPC_INTERUPT IRQ_NUM_EXT_IA