drivers: flash: flash_stm32: convert to DT_INST defines
Convert driver to use DT_INST_ defines. Removed DT_FLASH_DEV fixup macros, except DT_FLASH_DEV_NAME used in applications. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
f289a6f3be
commit
22af564f19
10 changed files with 11 additions and 20 deletions
|
@ -376,8 +376,7 @@
|
|||
#define DT_I2S_6_DMA_FEATURES_RX \
|
||||
DT_ST_STM32_I2S_40015400_RX_DMAS_FEATURES
|
||||
|
||||
#define DT_FLASH_DEV_BASE_ADDRESS DT_ST_STM32F4_FLASH_CONTROLLER_40023C00_BASE_ADDRESS
|
||||
#define DT_FLASH_DEV_NAME DT_ST_STM32F4_FLASH_CONTROLLER_40023C00_LABEL
|
||||
#define DT_FLASH_DEV_NAME DT_INST_0_ST_STM32F4_FLASH_CONTROLLER_LABEL
|
||||
|
||||
#ifdef DT_ST_STM32_OTGFS_50000000_BASE_ADDRESS
|
||||
#define DT_USB_BASE_ADDRESS DT_ST_STM32_OTGFS_50000000_BASE_ADDRESS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue