Commit 7eab725d authored by Derek Snell's avatar Derek Snell Committed by Mahesh Mahadevan
Browse files

soc: nxp: rw: Update system core clock frequency

After updating the main_clk, need to update the frequency tracked in
HAL MCUXpresso SDK framework for other drivers.

Signed-off-by: default avatarDerek Snell <derek.snell@nxp.com>
(cherry picked from commit 793e44af)
parent a50476ca
Loading
Loading
Loading
Loading
+2 −0
Changes for soc/nxp/rw/soc.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -132,6 +132,8 @@ __ramfunc void clock_init(void)
	CLOCK_SetClkDiv(kCLOCK_DivSystickClk, 1U);
	CLOCK_AttachClk(kSYSTICK_DIV_to_SYSTICK_CLK);

	SystemCoreClockUpdate();

	/* Set PLL FRG clock to 20MHz. */
	CLOCK_SetClkDiv(kCLOCK_DivPllFrgClk, 13U);