summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYC Hung <yc.hung@mediatek.com>2022-06-06 16:02:10 -0500
committerMark Brown <broonie@kernel.org>2022-06-06 22:08:23 +0100
commitfd43dcbb859c85831a05e37287e1c5395f54aba8 (patch)
treeae05442a4d0b74ade25ccbd2a53c1438398510e7
parente53b20598f394e37951d6355f1c88ae01165b53f (diff)
downloadlwn-fd43dcbb859c85831a05e37287e1c5395f54aba8.tar.gz
lwn-fd43dcbb859c85831a05e37287e1c5395f54aba8.zip
ASoC: SOF: mediatek: Add shared_size for mediatek common chip information
Add shared_size for mediatek common chip information which is used for audio and trace dma. Reviewed-by: Curtis Malainey <cujomalainey@chromium.org> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: YC Hung <yc.hung@mediatek.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220606210212.146626-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/sof/mediatek/adsp_helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/mediatek/adsp_helper.h b/sound/soc/sof/mediatek/adsp_helper.h
index 4ab998756bbc..d41e904e6614 100644
--- a/sound/soc/sof/mediatek/adsp_helper.h
+++ b/sound/soc/sof/mediatek/adsp_helper.h
@@ -20,6 +20,7 @@ struct mtk_adsp_chip_info {
u32 sramsize;
u32 dramsize;
u32 cfgregsize;
+ u32 shared_size;
void __iomem *va_sram; /* corresponding to pa_sram */
void __iomem *va_dram; /* corresponding to pa_dram */
void __iomem *va_cfgreg;