soc: rt11xx: Fix dual core ENET PLL

IMXRT11XX secondary core should not deinit ENET PLL
as it could be configured by primary core.

Signed-off-by: Anders Bjørn Nedergaard <abn@polytech.com>
This commit is contained in:
Anders Bjørn Nedergaard 2024-08-22 10:32:58 +02:00 committed by Alberto Escolar
commit 29dc419ad2

View file

@ -264,11 +264,13 @@ static ALWAYS_INLINE void clock_init(void)
#ifdef CONFIG_INIT_ENET_PLL
CLOCK_InitSysPll1(&sysPll1Config);
#else
#ifndef CONFIG_SECOND_CORE_MCUX
/* Bypass Sys Pll1. */
CLOCK_SetPllBypass(kCLOCK_PllSys1, true);
/* DeInit Sys Pll1. */
CLOCK_DeinitSysPll1();
#endif
#endif
/* Init Sys Pll2. */