diff options
author | Ramesh Babu <ramesh.babu@intel.com> | 2016-05-30 15:12:55 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-30 20:24:41 +0300 |
commit | 6eee87261f69e366bfe9b908ae3b441efb8e28ea (patch) | |
tree | 93fc03e183b25547b0c676bb270f2c0b38a289fb /sound/soc/intel/skylake/skl-sst-dsp.h | |
parent | f65cf7d666371562ef83b487a31e73642f3a3564 (diff) | |
download | linux-6eee87261f69e366bfe9b908ae3b441efb8e28ea.tar.xz |
ASoC: Intel: Skylake: Add strip extended manifest utility
Some upcoming platforms like broxton etc have extended manifest
in firmware binary. This is not required to be downloaded to DSP.
So driver needs to strip this before downloading.
Add a utility function to check if a header exists, and remove it
in that case
Signed-off-by: Ramesh Babu <ramesh.babu@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-sst-dsp.h')
-rw-r--r-- | sound/soc/intel/skylake/skl-sst-dsp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-dsp.h b/sound/soc/intel/skylake/skl-sst-dsp.h index deabe7308d3b..94878fac2269 100644 --- a/sound/soc/intel/skylake/skl-sst-dsp.h +++ b/sound/soc/intel/skylake/skl-sst-dsp.h @@ -175,4 +175,6 @@ int bxt_sst_dsp_init(struct device *dev, void __iomem *mmio_base, int irq, void skl_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx); void bxt_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx); +int skl_dsp_strip_extended_manifest(struct firmware *fw); + #endif /*__SKL_SST_DSP_H__*/ |