Skip to content

Commit 3728a80

Browse files
butokkartben
authored andcommitted
boards: nxp: mcxn947: enable the default MCU-Boot swap mode
- Enables MCU-Boot default Swap mode for the FRDM-MCXN947 and MCX-N9XX-EVK, after the flash driver was upgraded to support the 16-byte programming. - Fixes flash-controller for frdm_mcxn947_mcxn947_cpu0_qspi. Signed-off-by: Andrej Butok <[email protected]>
1 parent c9e48c8 commit 3728a80

File tree

8 files changed

+2
-32
lines changed

8 files changed

+2
-32
lines changed

boards/nxp/frdm_mcxn947/Kconfig.defconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,4 @@ config MAIN_STACK_SIZE
1414

1515
endif
1616

17-
if BOOTLOADER_MCUBOOT
18-
choice MCUBOOT_BOOTLOADER_MODE
19-
# Board only supports MCUBoot via "upgrade only" method:
20-
default MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY
21-
endchoice
22-
endif #BOOTLOADER_MCUBOOT
23-
2417
endif

boards/nxp/frdm_mcxn947/Kconfig.sysbuild

Lines changed: 0 additions & 6 deletions
This file was deleted.

boards/nxp/frdm_mcxn947/frdm_mcxn947.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ nxp_8080_touch_panel_i2c: &flexcomm2_lpi2c2 {
153153
label = "mcuboot";
154154
reg = <0x00000000 DT_SIZE_K(80)>;
155155
};
156-
/* For the MCUBoot "upgrade only" method,
157-
* the slot sizes must be equal.
158-
*/
159156
slot0_partition: partition@14000 {
160157
label = "image-0";
161158
reg = <0x00014000 DT_SIZE_K(984)>;

boards/nxp/frdm_mcxn947/frdm_mcxn947_mcxn947_cpu0_qspi.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
chosen {
2121
zephyr,flash = &w25q64jvssiq;
22+
zephyr,flash-controller = &w25q64jvssiq;
2223
};
2324

2425
};

boards/nxp/mcx_n9xx_evk/Kconfig.defconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,4 @@ config MAIN_STACK_SIZE
1414

1515
endif
1616

17-
if BOOTLOADER_MCUBOOT
18-
choice MCUBOOT_BOOTLOADER_MODE
19-
# Board only supports MCUBoot via "upgrade only" method:
20-
default MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY
21-
endchoice
22-
endif #BOOTLOADER_MCUBOOT
23-
2417
endif

boards/nxp/mcx_n9xx_evk/Kconfig.sysbuild

Lines changed: 0 additions & 6 deletions
This file was deleted.

boards/nxp/mcx_n9xx_evk/mcx_n9xx_evk.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,6 @@ nxp_8080_touch_panel_i2c: &flexcomm2_lpi2c2 {
135135
label = "mcuboot";
136136
reg = <0x00000000 DT_SIZE_K(80)>;
137137
};
138-
/* For the MCUBoot "upgrade only" method,
139-
* the slot sizes must be equal.
140-
*/
141138
slot0_partition: partition@14000 {
142139
label = "image-0";
143140
reg = <0x00014000 DT_SIZE_K(984)>;

boards/nxp/mcx_n9xx_evk/mcx_n9xx_evk_mcxn947_cpu0_qspi.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
chosen {
2121
zephyr,flash = &w25q64jwtbjq;
22+
zephyr,flash-controller = &w25q64jwtbjq;
2223
};
2324

2425
};

0 commit comments

Comments
 (0)