zephyr: imx8ulp: 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: Zhang Peng <peng.zhang_8@nxp.com>
This commit is contained in:
Zhang Peng 2023-10-10 20:54:54 +08:00 committed by Daniel Baluta
parent 216be694c2
commit abfa4c4f3b
1 changed files with 4 additions and 1 deletions

View File

@ -6,11 +6,14 @@
#include <sof/common.h>
#include <rtos/clk.h>
#include <sof/lib/cpu.h>
#include <sof/lib/memory.h>
#include <sof/lib/notifier.h>
#include <rtos/sof.h>
#ifdef __ZEPHYR__
#include <zephyr/sys/util.h>
#endif
const struct freq_table platform_cpu_freq[] = {
{ 528000000, 528000 },
};