Skip to content

Commit

Permalink
[nrf fromlist] zephyr/Kconfig.serial_recovery: limit Slot info command
Browse files Browse the repository at this point in the history
BOOT_SERIAL_IMG_GRP_SLOT_INFO should be not available for
direct-xip and ram-load modes.

Upstream PR: mcu-tools/mcuboot#2073

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
  • Loading branch information
nvlsianpu committed Sep 24, 2024
1 parent 5fb227c commit bb56675
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boot/zephyr/Kconfig.serial_recovery
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ config BOOT_SERIAL_IMG_GRP_IMAGE_STATE

config BOOT_SERIAL_IMG_GRP_SLOT_INFO
bool "Slot info"
default y if UPDATEABLE_IMAGE_NUMBER > 1
depends on !BOOT_DIRECT_XIP && !BOOT_RAM_LOAD
default y if (UPDATEABLE_IMAGE_NUMBER > 1)
help
If y, will include the slot info command which lists what available
slots there are in the system.
Expand Down

0 comments on commit bb56675

Please sign in to comment.