Skip to content

Commit

Permalink
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.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
  • Loading branch information
nvlsianpu committed Sep 24, 2024
1 parent fe26c28 commit c7e213a
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 c7e213a

Please sign in to comment.