Use global SOF_IPC_FW_READY to notify FW boot,
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/platform/baytrail/include/platform/platform.h | 2 -- src/platform/baytrail/platform.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/platform/baytrail/include/platform/platform.h b/src/platform/baytrail/include/platform/platform.h index e016da7..8dac653 100644 --- a/src/platform/baytrail/include/platform/platform.h +++ b/src/platform/baytrail/include/platform/platform.h @@ -60,8 +60,6 @@ struct reef;
#define PLATFORM_SCHEDULE_COST 200
-#define PLATFORM_FW_READY (0x1 << 29) - /* DMA treats PHY addresses as host address unless within DSP region */ #define PLATFORM_HOST_DMA_MASK 0xFF000000
diff --git a/src/platform/baytrail/platform.c b/src/platform/baytrail/platform.c index 77cb248..ab111c9 100644 --- a/src/platform/baytrail/platform.c +++ b/src/platform/baytrail/platform.c @@ -86,7 +86,7 @@ int platform_boot_complete(uint32_t boot_message) mailbox_outbox_write(0, &ready, sizeof(ready));
/* now interrupt host to tell it we are done booting */ - shim_write(SHIM_IPCDL, PLATFORM_FW_READY | outbox); + shim_write(SHIM_IPCDL, SOF_IPC_FW_READY | outbox); shim_write(SHIM_IPCDH, SHIM_IPCDH_BUSY);
/* boot now complete so we can relax the CPU */