]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: Revisit IMR boot sequence
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 21 Apr 2022 20:20:31 +0000 (15:20 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 22 Apr 2022 23:16:27 +0000 (00:16 +0100)
commit29caf2a7ac4529293b77b6a85a1e9b7a05f9ad81
treeeeb0c0871d53caa1b25be1bcbabfb0a61da8d359
parent4d454185e1fa7488188a57cd04367b500df85099
ASoC: SOF: Intel: hda: Revisit IMR boot sequence

The sequence for IMR boot is essentially the same as normal boot with the
difference that instead of DMA from host the firmware is loaded from IMR.

Re-structure the code to use the existing sequence and also add fallback
handling in case the IMR boot fails.

Introduce a new flag to make the IMR boot support check simpler.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220421202031.1548362-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader.c
sound/soc/sof/intel/hda.h
sound/soc/sof/intel/icl.c