From 1a6d40dd6d7b210a6c257c2bda64563497a5ac27 Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Mon, 6 Oct 2025 11:44:06 +0100 Subject: [PATCH] modules: mcuboot: Fix missing chosen node lookup Fixes an issue caused by using a chosen node string as a node rather than looking the node up first so it could be used Signed-off-by: Jamie McCrae --- modules/Kconfig.mcuboot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/Kconfig.mcuboot b/modules/Kconfig.mcuboot index 70f8c116d4f99..a71520c401057 100644 --- a/modules/Kconfig.mcuboot +++ b/modules/Kconfig.mcuboot @@ -431,10 +431,11 @@ config MCUBOOT_BOOTUTIL_LIB_FOR_DIRECT_XIP endif DT_CHOSEN_ZEPHYR_FLASH := zephyr,flash +DT_CHOSEN_ZEPHYR_FLASH_NODE := $(dt_chosen_path,$(DT_CHOSEN_ZEPHYR_FLASH)) config MCUBOOT_BOOT_MAX_ALIGN int "Override programmable flash block alignment" - default $(dt_node_int_prop_int,$(DT_CHOSEN_ZEPHYR_FLASH),write-block-size) + default $(dt_node_int_prop_int,$(DT_CHOSEN_ZEPHYR_FLASH_NODE),write-block-size) help Allow to override the programmable flash block alignment size. By default it's set to the maximum of the write block size of