1 /* 2 * Copyright (c) 2023 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/init.h> 8 #include "soc.h" 9 10 #if defined(CONFIG_HPET_TIMER) 11 #include "sedi_driver_hpet.h" 12 #endif 13 14 extern void sedi_pm_init(void); 15 soc_early_init_hook(void)16void soc_early_init_hook(void) 17 { 18 #if defined(CONFIG_HPET_TIMER) 19 sedi_hpet_set_min_delay(HPET_CMP_MIN_DELAY); 20 #endif 21 #if defined(CONFIG_PM) 22 sedi_pm_init(); 23 #endif 24 } 25