From a0dcaeba35d10d8d8c1946c12380f9dc46130322 Mon Sep 17 00:00:00 2001 From: Damian Nikodem Date: Thu, 22 Sep 2022 11:26:54 +0200 Subject: [PATCH] platform/cavs: remove platform_trace_point functionality for IPC4 The platform_trace_point is not supported with IPC4 fw_reg layout. Signed-off-by: Damian Nikodem --- src/platform/intel/cavs/include/cavs/trace/trace.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/platform/intel/cavs/include/cavs/trace/trace.h b/src/platform/intel/cavs/include/cavs/trace/trace.h index a97b9ab43..738a28530 100644 --- a/src/platform/intel/cavs/include/cavs/trace/trace.h +++ b/src/platform/intel/cavs/include/cavs/trace/trace.h @@ -15,6 +15,11 @@ #include #include +#if CONFIG_IPC_MAJOR_4 +/* Platform defined trace code */ +static inline void platform_trace_point(uint32_t x) +{ } +#else #define PLATFORM_TRACEP_SECONDARY_CORE(x) \ (SRAM_REG_FW_TRACEP_SECONDARY_CORE_BASE + ((x) - 1) * 0x4) @@ -31,7 +36,7 @@ static inline void platform_trace_point(uint32_t x) mailbox_sw_reg_write(offset, x); } - +#endif #endif /* __CAVS_TRACE_TRACE_H__ */ #else