dts: bindings: Introduce flash erase-block-size property
Adds a new optional dts property to define the erase block size of a flash device. This will be used by the mcux flash driver to implement the flash page layout function. The value is set for all kinetis devices to match FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
d6b905910b
commit
f633c0f997
6 changed files with 12 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
|||
compatible = "soc-nv-flash";
|
||||
label = "MCUX_FLASH";
|
||||
reg = <0 0x20000>;
|
||||
erase-block-size = <1024>;
|
||||
write-block-size = <4>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue