Skip to content

Commit 721eab4

Browse files
committed
subsys/bootloaders: decreased monotonic counter range on nRF54LX
SB_CONFIG_MCUBOOT_HW_DOWNGRADE_PREVENTION_COUNTER_SLOTS and MCUboot's CONFIG_SB_NUM_VER_COUNTER_SLOTS ranges were decreased to UICR.OTP capacity on nRF54LX devices. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
1 parent e003781 commit 721eab4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/mcuboot/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION
1515
config MCUBOOT_HW_DOWNGRADE_PREVENTION_COUNTER_SLOTS
1616
int "Number of available hardware counter slots"
1717
default 240
18+
range 2 288 if SOC_SERIES_NRF54LX
1819
range 2 300
1920
help
2021
When MCUBOOT_HW_DOWNGRADE_PREVENTION is enabled, MCUboot will use

subsys/bootloader/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ config SB_NUM_VER_COUNTER_SLOTS
3434
default 240
3535
range 2 300 if SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X || SOC_SERIES_NRF54LX
3636
range 2 1800 if SOC_SERIES_NRF52X
37-
range 2 400 if SOC_SERIES_NRF51X
37+
range 2 288 if SOC_SERIES_NRF51X
3838
depends on SB_MONOTONIC_COUNTER
3939
help
4040
The number of monotonic counter slots available for the counter,

0 commit comments

Comments
 (0)