OSDN Git Service

ASoC: SOF: Introduce extended manifest
authorKarol Trzcinski <karolx.trzcinski@linux.intel.com>
Wed, 20 May 2020 16:59:08 +0000 (19:59 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 25 May 2020 13:59:34 +0000 (14:59 +0100)
commita80cf1987a6e728b4d5c8e5041132d46e89c7a45
tree264323577a0fbfa937dd457a6a3f4cfb4604542f
parent523773b9ea9f430810332aa117ea48f8feafce9a
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: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20200520165911.21696-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/ext_manifest.h [new file with mode: 0644]
sound/soc/sof/loader.c