soc: intel_ish: remove duplicate hook

Remove duplicate hook and fold power code into the same early soc hook.

Fixes #78776

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2024-09-20 11:59:23 -04:00 committed by Henrik Brix Andersen
parent c3438903d2
commit 3eded9d10d
2 changed files with 5 additions and 7 deletions

View File

@ -69,10 +69,3 @@ void sys_arch_reboot(int type)
sedi_pm_reset();
}
#endif
extern void sedi_pm_init(void);
void soc_early_init_hook(void)
{
sedi_pm_init();
}

View File

@ -11,9 +11,14 @@
#include "sedi_driver_hpet.h"
#endif
extern void sedi_pm_init(void);
void soc_early_init_hook(void)
{
#if defined(CONFIG_HPET_TIMER)
sedi_hpet_set_min_delay(HPET_CMP_MIN_DELAY);
#endif
#if defined(CONFIG_PM)
sedi_pm_init();
#endif
}