mirror of https://github.com/thesofproject/sof.git
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:
parent
80aec89d55
commit
a0dcaeba35
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue