dts: flash: Add support for flash labels
Added a label for soc-nv-flash nodes. Made some updates to the generation to maintain creating defines for properties like erase-block-size and write-block-size so they we get both FLASH_ERASE_BLOCK_SIZE and FLASH_${LABEL}_ERASE_BLOCK_SIZE (same for WRITE_BLOCK_SIZE). Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
c59d6cb760
commit
8a6381d8e8
2 changed files with 13 additions and 0 deletions
|
@ -13,6 +13,12 @@ properties:
|
|||
description: compatible strings
|
||||
constraint: "soc-nv-flash"
|
||||
|
||||
label:
|
||||
type: string
|
||||
category: optional
|
||||
description: Human readable string describing the device (used by Zephyr for API name)
|
||||
generation: define
|
||||
|
||||
erase-block-size:
|
||||
type: int
|
||||
description: address alignment required by flash erase operations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue