From 791a77b7b93b30a7a5e812ab2dd3267a116bdeab Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Wed, 12 Nov 2025 09:26:32 +0100 Subject: [PATCH 1/2] boot: zephyr: stm32n657xx: Move overlay to socs To minimize churn over these files, move from board to socs, as we expect all boards based on this soc to use this base config. Signed-off-by: Erwan Gouriou --- .../stm32n657xx_fsbl.conf} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename boot/zephyr/{boards/stm32n6570_dk_stm32n657xx_fsbl.conf => socs/stm32n657xx_fsbl.conf} (100%) diff --git a/boot/zephyr/boards/stm32n6570_dk_stm32n657xx_fsbl.conf b/boot/zephyr/socs/stm32n657xx_fsbl.conf similarity index 100% rename from boot/zephyr/boards/stm32n6570_dk_stm32n657xx_fsbl.conf rename to boot/zephyr/socs/stm32n657xx_fsbl.conf From ee1beed5f7fbf3e43ef18b714b20a3693f7c7745 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Wed, 12 Nov 2025 09:28:52 +0100 Subject: [PATCH 2/2] boot: zephyr: Remove BOOT_MAX_IMG settings By configuring a proper flash driver in Zephyr, those settings are no more required. Signed-off-by: Erwan Gouriou --- boot/zephyr/socs/stm32n657xx_fsbl.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/boot/zephyr/socs/stm32n657xx_fsbl.conf b/boot/zephyr/socs/stm32n657xx_fsbl.conf index 706afac74a..76a7ce8309 100644 --- a/boot/zephyr/socs/stm32n657xx_fsbl.conf +++ b/boot/zephyr/socs/stm32n657xx_fsbl.conf @@ -1,5 +1,3 @@ CONFIG_STM32_MEMMAP=y -CONFIG_BOOT_MAX_IMG_SECTORS_AUTO=n -CONFIG_BOOT_MAX_IMG_SECTORS=4096 CONFIG_MULTIPLE_EXECUTABLE_RAM_REGIONS=y