zephyr: imx: use zephyr utilities when enabled

Use the Zephyr sys/util.h when Zephyr RTOS is used.

While here, remove sof/lib/cpu.h which is not used.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2021-05-19 15:48:01 +03:00 committed by Daniel Baluta
parent 4e8743f76f
commit 7d2f621f36
1 changed files with 4 additions and 1 deletions

View File

@ -7,12 +7,15 @@
#include <sof/common.h>
#include <sof/lib/clk.h>
#include <sof/lib/cpu.h>
#include <sof/lib/memory.h>
#include <sof/lib/notifier.h>
#include <sof/sof.h>
#include <sof/spinlock.h>
#ifdef __ZEPHYR__
#include <sys/util.h>
#endif
const struct freq_table platform_cpu_freq[] = {
#ifdef CONFIG_IMX8
{ 666000000, 666000 },