boards: frdm_mcxn947: Add MCUboot support
Add support for MCUboot running from internal flash. Remove the MCUboot conditional check. Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
parent
68ed426751
commit
ee3db01d1a
4 changed files with 28 additions and 3 deletions
|
@ -48,8 +48,6 @@ void power_mode_od(void)
|
|||
|
||||
static int frdm_mcxn947_init(void)
|
||||
{
|
||||
/* Do not re-run this clock init code if using MCUBoot */
|
||||
#ifndef CONFIG_BOOTLOADER_MCUBOOT
|
||||
enable_lpcac();
|
||||
|
||||
power_mode_od();
|
||||
|
@ -87,7 +85,6 @@ static int frdm_mcxn947_init(void)
|
|||
|
||||
/* Set AHBCLKDIV divider to value 1 */
|
||||
CLOCK_SetClkDiv(kCLOCK_DivAhbClk, 1U);
|
||||
#endif /* CONFIG_BOOTLOADER_MCUBOOT */
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(flexcomm4), okay)
|
||||
CLOCK_SetClkDiv(kCLOCK_DivFlexcom4Clk, 1u);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue