From a91a61564acd9770597d0ab8eb663a4a03c19ac1 Mon Sep 17 00:00:00 2001 From: Andrej Butok Date: Wed, 2 Oct 2024 10:42:09 +0200 Subject: [PATCH] boot: zephyr: Fix serial recovery for NXP IMX.RT platforms Serial recovery failed for NXP IMX.RT platforms unless BOOT_ERASE_PROGRESSIVELY is set. Signed-off-by: Andrej Butok --- boot/zephyr/Kconfig.serial_recovery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/zephyr/Kconfig.serial_recovery b/boot/zephyr/Kconfig.serial_recovery index 7ed9a7d9..abdbff71 100644 --- a/boot/zephyr/Kconfig.serial_recovery +++ b/boot/zephyr/Kconfig.serial_recovery @@ -98,7 +98,7 @@ config BOOT_SERIAL_MAX_RECEIVE_SIZE config BOOT_ERASE_PROGRESSIVELY bool "Erase flash progressively when receiving new firmware" - default y if SOC_FAMILY_NORDIC_NRF + default y if SOC_FAMILY_NORDIC_NRF || SOC_FAMILY_NXP_IMXRT help If enabled, flash is erased as necessary when receiving new firmware, instead of erasing the whole image slot at once. This is necessary