[Sound-open-firmware] [PATCH] ipc: byt: use SOF_IPC_FW_READY for boot notification
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 */
prepare() is not being performed on the selected component. Fix this so that all components including the selected are prepared in a pipeine.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/audio/pipeline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/audio/pipeline.c b/src/audio/pipeline.c index 7da9ab7..c286c0a 100644 --- a/src/audio/pipeline.c +++ b/src/audio/pipeline.c @@ -395,7 +395,7 @@ int pipeline_prepare(struct pipeline *p, struct comp_dev *dev) if (host->direction == SOF_IPC_STREAM_PLAYBACK) {
/* first of all prepare the pipeline */ - ret = component_op_downstream(&op_data, dev, dev, 1); + ret = component_op_downstream(&op_data, dev, dev, 0); if (ret < 0) goto out;
@@ -410,7 +410,7 @@ int pipeline_prepare(struct pipeline *p, struct comp_dev *dev) break; } } else { - ret = component_op_upstream(&op_data, dev, dev, 1); + ret = component_op_upstream(&op_data, dev, dev, 0); }
out:
participants (1)
-
Liam Girdwood