drivers: flash: flash_simulator: Convert to new DT macros
Convert flash_simulator to use new DT macros and remove associated defines in dts_fixup.h. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
29e91a6013
commit
50345848b4
4 changed files with 20 additions and 22 deletions
|
@ -2,13 +2,6 @@
|
|||
|
||||
/* Board level DTS fixup file */
|
||||
|
||||
#define DT_FLASH_DEV_NAME DT_ZEPHYR_SIM_FLASH_SIM_FLASH_LABEL
|
||||
|
||||
#define DT_FLASH_SIM_BASE_ADDRESS DT_SOC_NV_FLASH_0_BASE_ADDRESS
|
||||
#define DT_FLASH_SIM_ERASE_BLOCK_SIZE DT_SOC_NV_FLASH_0_ERASE_BLOCK_SIZE
|
||||
#define DT_FLASH_SIM_SIZE DT_SOC_NV_FLASH_0_SIZE
|
||||
#define DT_FLASH_SIM_WRITE_BLOCK_SIZE DT_SOC_NV_FLASH_0_WRITE_BLOCK_SIZE
|
||||
|
||||
#define DT_FLASH_ERASE_BLOCK_SIZE DT_SOC_NV_FLASH_0_ERASE_BLOCK_SIZE
|
||||
#define DT_FLASH_WRITE_BLOCK_SIZE DT_SOC_NV_FLASH_0_WRITE_BLOCK_SIZE
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue