]> 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)
commit8174982cfcc5af251a004f44aad1b0a84db925de
tree33ce5258bd6896201a2da203d9c7b516d4e33b95
parent17dbc99c410ae0a633d9fc52154ab1da3642968f
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