Skip to content

Commit f897647

Browse files
committed
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 <[email protected]>
1 parent 16f4d6c commit f897647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/Kconfig.mcuboot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ DT_CHOSEN_ZEPHYR_FLASH := zephyr,flash
434434

435435
config MCUBOOT_BOOT_MAX_ALIGN
436436
int "Override programmable flash block alignment"
437-
default $(dt_node_int_prop_int,$(DT_CHOSEN_ZEPHYR_FLASH),write-block-size)
437+
default $(dt_node_int_prop_int,$(dt_chosen_path,$(DT_CHOSEN_ZEPHYR_FLASH)),write-block-size)
438438
help
439439
Allow to override the programmable flash block alignment size.
440440
By default it's set to the maximum of the write block size of

0 commit comments

Comments
 (0)