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 <damian.nikodem@intel.com>
This commit is contained in:
Damian Nikodem 2022-09-22 11:26:54 +02:00 committed by Liam Girdwood
parent 80aec89d55
commit a0dcaeba35
1 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,11 @@
#include <sof/lib/memory.h>
#include <stdint.h>
#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