boards: nxp: frdm_mcxa156: Correct macros values

Update macros CLOCK_INIT_CORE_CLOCK and BOARD_BOOTCLOCKFRO96M_CORE_CLOCK
value to 96Mhz, not 960Mhz.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
This commit is contained in:
Neil Chen 2025-05-30 14:09:39 +08:00 committed by Benjamin Cabé
commit 4427880741

View file

@ -9,9 +9,9 @@
#include <fsl_spc.h>
#include <soc.h>
/* Core clock frequency: 150MHz */
#define CLOCK_INIT_CORE_CLOCK 960000000U
#define BOARD_BOOTCLOCKFRO96M_CORE_CLOCK 960000000U
/* Core clock frequency: 96MHz */
#define CLOCK_INIT_CORE_CLOCK 96000000U
#define BOARD_BOOTCLOCKFRO96M_CORE_CLOCK 96000000U
/* System clock frequency. */
extern uint32_t SystemCoreClock;
@ -39,7 +39,7 @@ void board_early_init_hook(void)
(void)SPC_SetSRAMOperateVoltage(SPC0, &sramOption);
}
CLOCK_SetupFROHFClocking(96000000U); /*!< Enable FRO HF(96MHz) output */
CLOCK_SetupFROHFClocking(CLOCK_INIT_CORE_CLOCK); /*!< Enable FRO HF(96MHz) output */
CLOCK_SetupFRO12MClocking(); /*!< Setup FRO12M clock */