blob: 2994f59af9bbd6a90f538e158d8e31a90d8c1597 [file] [log] [blame]
/*
* Copyright (c) 2022 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/device.h>
extern void power_init(void);
extern void adsp_clock_init(void);
#if CONFIG_MP_MAX_NUM_CPUS > 1
extern void soc_mp_init(void);
#endif
static __imr int soc_init(const struct device *dev)
{
power_init();
#ifdef CONFIG_ADSP_CLOCK
adsp_clock_init();
#endif
#if CONFIG_MP_MAX_NUM_CPUS > 1
soc_mp_init();
#endif
return 0;
}
SYS_INIT(soc_init, PRE_KERNEL_1, 99);