]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: ipc3-loader: Implement firmware parsing and loading
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 25 Apr 2022 22:11:21 +0000 (15:11 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 29 Apr 2022 12:06:08 +0000 (13:06 +0100)
commit16460a1b2e7305df39eb65774a6a49e1e8a369af
tree33ce5258bd6896201a2da203d9c7b516d4e33b95
parentc145ee000c5763ae0023e2b6ed5ce767e584e1ad
ASoC: SOF: ipc3-loader: Implement firmware parsing and loading

Add the IPC3 dependent implementation of validating the firmware image,
parsing the ext manifest and to load modules via memcpy.

The code introduced by this commit is the IPC dependent code from the
loader.c, which is going to be removed later.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220425221129.124615-3-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/Makefile
sound/soc/sof/ipc3-loader.c [new file with mode: 0644]
sound/soc/sof/ipc3-priv.h [new file with mode: 0644]
sound/soc/sof/ipc3.c