schedule: the cAVS timer requirement is only valid for Xtensa

The timer-domain driver requires the use of the cAVS timer driver,
but it only makes sense on Xtensa architectures.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2020-11-19 13:57:30 +01:00 committed by Liam Girdwood
parent f4b6a54a77
commit 28210fa6f1
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
* SOF on Intel CAVS platforms currently only aligns with Zephyr when both
* use the CAVS 19.2 MHz SSP clock. TODO - needs runtime alignment.
*/
#if !defined(CONFIG_CAVS_TIMER)
#if CONFIG_XTENSA && !CONFIG_CAVS_TIMER
#error "Zephyr uses 19.2MHz clock derived from SSP which must be enabled."
#endif