ASoC: Intel: Move Baytrail extended fw address saving to sst_byt_boot()
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Thu, 8 May 2014 13:07:24 +0000 (16:07 +0300)
committerMark Brown <broonie@linaro.org>
Mon, 12 May 2014 21:02:17 +0000 (22:02 +0100)
commit800be5900bde58a606c177f5515cc7f8de1f40f5
treeecbb30f859a31861691e3cce3e08ed6a82d6423b
parenta6686ed553426be00b3bb10acaa2170a6814bbdd
ASoC: Intel: Move Baytrail extended fw address saving to sst_byt_boot()

We have to save the physical address of extended firmware block in the
beginning of mailbox every time when we boot the DSP firmware since that
mailbox address is re-used after DSP firmware is running. Otherwise DSP
firmware will get bogus extended firmware block address during next DSP
boot.

Currently this is not problem but becomes when DSP runtime rebooting is
implemented. Prepare for that by moving extended firmware address saving
from sst_byt_init() to sst_byt_boot().

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-baytrail-dsp.c