From 81247249691bdb0df333b3a326abe9b821f57acc Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 20 Sep 2017 15:47:20 -0400 Subject: [PATCH] dts: stm32f4: add flash write-block-size This makes the SoC flash compatible with the common nonvolatile flash YAML schema, and provides a write alignment. It mirrors work done on nRF chips for the DFU subsystem. Signed-off-by: Marti Bolivar --- dts/arm/st/stm32f4.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dts/arm/st/stm32f4.dtsi b/dts/arm/st/stm32f4.dtsi index 638c2738b08..23f4174df07 100644 --- a/dts/arm/st/stm32f4.dtsi +++ b/dts/arm/st/stm32f4.dtsi @@ -23,7 +23,10 @@ }; flash0: flash@8000000 { + compatible = "soc-nv-flash"; reg = <0x08000000 DT_FLASH_SIZE>; + + write-block-size = <1>; }; sram0: memory@20000000 {