From e5c4a3a0da1f012a9883196cb51ac791215a0e9d Mon Sep 17 00:00:00 2001 From: Andrzej Puzdrowski Date: Tue, 24 Sep 2024 16:35:08 +0200 Subject: [PATCH] [nrf fromlist] zephyr/Kconfig.serial_recovery: limit Slot info command BOOT_SERIAL_IMG_GRP_SLOT_INFO should be not available for direct-xip and ram-load modes. Upstream PR: https://github.com/mcu-tools/mcuboot/pull/2073 Signed-off-by: Andrzej Puzdrowski --- boot/zephyr/Kconfig.serial_recovery | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boot/zephyr/Kconfig.serial_recovery b/boot/zephyr/Kconfig.serial_recovery index 7ed9a7d9c..4d31844c1 100644 --- a/boot/zephyr/Kconfig.serial_recovery +++ b/boot/zephyr/Kconfig.serial_recovery @@ -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.