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:
parent
9564a5e07b
commit
4427880741
1 changed files with 4 additions and 4 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue