diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-11-29 13:53:21 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-11-29 14:25:09 +0100 |
commit | b1a4ee9fd5a2dfb0f23abe58377f816915ec14ba (patch) | |
tree | 8ec8a2cde02e7d4cd8ad8de799aa6b2b0f6bd57e /sound/soc/sof/sof-priv.h | |
parent | ASoC: SOF: sof-pci-dev: Save the default IPC type and path overrides (diff) | |
download | linux-b1a4ee9fd5a2dfb0f23abe58377f816915ec14ba.tar.xz linux-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); |