Skip to content

Commit 747aacb

Browse files
butokcarlescufi
authored andcommitted
boards: lpcxpresso55s: Set CONFIG_MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY
Set CONFIG_MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY=y for lpcxpresso55sxx boards. Synchronize with their default MCUBoot configuration. Signed-off-by: Andrej Butok <[email protected]>
1 parent 44885cb commit 747aacb

File tree

5 files changed

+35
-0
lines changed

5 files changed

+35
-0
lines changed

boards/arm/lpcxpresso55s06/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,11 @@ if BOARD_LPCXPRESSO55S06
88
config BOARD
99
default "lpcxpresso55s06"
1010

11+
if BOOTLOADER_MCUBOOT
12+
choice MCUBOOT_BOOTLOADER_MODE
13+
# Board only supports MCUBoot via "upgrade only" method:
14+
default MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY
15+
endchoice
16+
endif #BOOTLOADER_MCUBOOT
17+
1118
endif # BOARD_LPCXPRESSO55S06

boards/arm/lpcxpresso55s16/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,11 @@ config FXOS8700_DRDY_INT1
1212
default y
1313
depends on FXOS8700_TRIGGER
1414

15+
if BOOTLOADER_MCUBOOT
16+
choice MCUBOOT_BOOTLOADER_MODE
17+
# Board only supports MCUBoot via "upgrade only" method:
18+
default MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY
19+
endchoice
20+
endif #BOOTLOADER_MCUBOOT
21+
1522
endif # BOARD_LPCXPRESSO55S16

boards/arm/lpcxpresso55s28/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,11 @@ config FLASH_LOAD_SIZE
3737
default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION))
3838
depends on BOARD_LPCXPRESSO55S28 && TRUSTED_EXECUTION_SECURE
3939

40+
if BOOTLOADER_MCUBOOT
41+
choice MCUBOOT_BOOTLOADER_MODE
42+
# Board only supports MCUBoot via "upgrade only" method:
43+
default MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY
44+
endchoice
45+
endif #BOOTLOADER_MCUBOOT
46+
4047
endif # BOARD_LPCXPRESSO55S28

boards/arm/lpcxpresso55s36/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,11 @@ if BOARD_LPCXPRESSO55S36
88
config BOARD
99
default "lpcxpresso55s36"
1010

11+
if BOOTLOADER_MCUBOOT
12+
choice MCUBOOT_BOOTLOADER_MODE
13+
# Board only supports MCUBoot via "upgrade only" method:
14+
default MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY
15+
endchoice
16+
endif #BOOTLOADER_MCUBOOT
17+
1118
endif # BOARD_LPCXPRESSO55S36

boards/arm/lpcxpresso55s69/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,11 @@ choice TFM_PROFILE_TYPE
5555
default TFM_PROFILE_TYPE_MEDIUM
5656
endchoice
5757

58+
if BOOTLOADER_MCUBOOT
59+
choice MCUBOOT_BOOTLOADER_MODE
60+
# Board only supports MCUBoot via "upgrade only" method:
61+
default MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY
62+
endchoice
63+
endif #BOOTLOADER_MCUBOOT
64+
5865
endif # BOARD_LPCXPRESSO55S69_CPU0 || BOARD_LPCXPRESSO55S69_CPU1

0 commit comments

Comments
 (0)