ASoC: SOF: Introduce extended manifest
authorKarol Trzcinski <karolx.trzcinski@linux.intel.com>
Wed, 15 Apr 2020 20:27:56 +0000 (15:27 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 15 Apr 2020 23:23:01 +0000 (00:23 +0100)
commite150ef4169a766aa20003506c0f25b5519981e80
treed31257fc0e95eb446306731b5342468d1363d9a8
parent92be17a559a8872b655512b1cf9d0bc407bace33
ASoC: SOF: Introduce extended manifest

Extended manifest is a place to store build time known firmware
metadata, for example firmware version or used compiler description.
Given information is read on host side before firmware startup.
This part of output binary is located as a first structure in binary
file.
Extended manifest should be skipped in firmware loading routine.

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20200415202816.934-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/sof/ext_manifest.h [new file with mode: 0644]
sound/soc/sof/loader.c