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:
parent
c3438903d2
commit
3eded9d10d
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue