zephyr: CONFIG_CAVS_TIMER is only required on cAVS platforms

Allow building SOF with Zephyr with Xtensa platforms other than
cAVS.

BugLink: https://github.com/thesofproject/sof/issues/4046
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2021-04-20 15:13:22 +02:00 committed by Liam Girdwood
parent 2f270ea3c6
commit 6874740165
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,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 CONFIG_XTENSA && !CONFIG_CAVS_TIMER
#if CONFIG_XTENSA && CONFIG_CAVS && !CONFIG_CAVS_TIMER
#error "Zephyr uses 19.2MHz clock derived from SSP which must be enabled."
#endif