soc: lpcxpresso55S36 added PowerInit in clock_init.

Added a missing SDK function POWER_PowerInit
to the clock_init function of the soc in lpc55S36.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
Emilio Benavente 2022-11-21 09:26:37 -06:00 committed by Carles Cufí
commit 1e540f965f

View file

@ -58,6 +58,12 @@ const pll_setup_t pll0Setup = {
static ALWAYS_INLINE void clock_init(void) static ALWAYS_INLINE void clock_init(void)
{ {
#if defined(CONFIG_SOC_LPC55S36)
/* Power Management Controller initialization */
POWER_PowerInit();
#endif
#if defined(CONFIG_SOC_LPC55S06) || defined(CONFIG_SOC_LPC55S16) || \ #if defined(CONFIG_SOC_LPC55S06) || defined(CONFIG_SOC_LPC55S16) || \
defined(CONFIG_SOC_LPC55S28) || defined(CONFIG_SOC_LPC55S36) || \ defined(CONFIG_SOC_LPC55S28) || defined(CONFIG_SOC_LPC55S36) || \
defined(CONFIG_SOC_LPC55S69_CPU0) defined(CONFIG_SOC_LPC55S69_CPU0)