1 /* 2 * Copyright (c) 2021 Nuvoton Technology Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <kernel.h> 8 #include <device.h> 9 #include <init.h> 10 #include <soc.h> 11 #include <logging/log.h> 12 13 LOG_MODULE_REGISTER(soc, CONFIG_SOC_LOG_LEVEL); 14 soc_init(const struct device * dev)15static int soc_init(const struct device *dev) 16 { 17 ARG_UNUSED(dev); 18 19 return 0; 20 } 21 22 SYS_INIT(soc_init, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT); 23