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 <marti.bolivar@linaro.org>
This commit is contained in:
Marti Bolivar 2017-09-20 15:47:20 -04:00 committed by Anas Nashif
commit 8124724969

View file

@ -23,7 +23,10 @@
};
flash0: flash@8000000 {
compatible = "soc-nv-flash";
reg = <0x08000000 DT_FLASH_SIZE>;
write-block-size = <1>;
};
sram0: memory@20000000 {