Commit 793e44af authored by Derek Snell's avatar Derek Snell Committed by Fabio Baltieri
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>
parent 7fd92c39
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -134,6 +134,8 @@ __weak __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);