diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-11-29 14:53:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-11-29 13:25:09 +0000 |
commit | b1a4ee9fd5a2dfb0f23abe58377f816915ec14ba (patch) | |
tree | 8ec8a2cde02e7d4cd8ad8de799aa6b2b0f6bd57e /sound/soc/sof/sof-priv.h | |
parent | 59ddeae037b81303063bcf62b70fb33841b3f89e (diff) | |
download | linux-stable-b1a4ee9fd5a2dfb0f23abe58377f816915ec14ba.tar.gz linux-stable-b1a4ee9fd5a2dfb0f23abe58377f816915ec14ba.tar.bz2 linux-stable-b1a4ee9fd5a2dfb0f23abe58377f816915ec14ba.zip |
ASoC: SOF: core: Implement firmware, topology path setup in core
Use the information stored in ipc_file_profile_base by platforms to
construct the paths, filenames that are going to be used to load the
firmware and topology files.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20231129125327.23708-8-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r-- | sound/soc/sof/sof-priv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index faa8a19ed737..6d7897bf9607 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -696,6 +696,13 @@ void snd_sof_new_platform_drv(struct snd_sof_dev *sdev); extern struct snd_compress_ops sof_compressed_ops; /* + * Firmware (firmware, libraries, topologies) file location + */ +int sof_create_ipc_file_profile(struct snd_sof_dev *sdev, + struct sof_loadable_file_profile *base_profile, + struct sof_loadable_file_profile *out_profile); + +/* * Firmware loading. */ int snd_sof_load_firmware_raw(struct snd_sof_dev *sdev); |