Commit f7c765e6 authored by Subhransu S. Prusty's avatar Subhransu S. Prusty Committed by Mark Brown

ASoC: Intel: Reorganize the common dsp structure

We will add SKL platform data. So organizing common and platform
specific data helps.
Signed-off-by: default avatarSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3582f9ae
...@@ -258,6 +258,8 @@ struct sst_mem_block { ...@@ -258,6 +258,8 @@ struct sst_mem_block {
*/ */
struct sst_dsp { struct sst_dsp {
/* Shared for all platforms */
/* runtime */ /* runtime */
struct sst_dsp_device *sst_dev; struct sst_dsp_device *sst_dev;
spinlock_t spinlock; /* IPC locking */ spinlock_t spinlock; /* IPC locking */
...@@ -268,10 +270,6 @@ struct sst_dsp { ...@@ -268,10 +270,6 @@ struct sst_dsp {
int irq; int irq;
u32 id; u32 id;
/* list of free and used ADSP memory blocks */
struct list_head used_block_list;
struct list_head free_block_list;
/* operations */ /* operations */
struct sst_ops *ops; struct sst_ops *ops;
...@@ -284,6 +282,12 @@ struct sst_dsp { ...@@ -284,6 +282,12 @@ struct sst_dsp {
/* mailbox */ /* mailbox */
struct sst_mailbox mailbox; struct sst_mailbox mailbox;
/* HSW/Byt data */
/* list of free and used ADSP memory blocks */
struct list_head used_block_list;
struct list_head free_block_list;
/* SST FW files loaded and their modules */ /* SST FW files loaded and their modules */
struct list_head module_list; struct list_head module_list;
struct list_head fw_list; struct list_head fw_list;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment