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
|
@ -367,8 +367,7 @@
|
|||
|
||||
#define DT_RTC_0_NAME DT_INST_0_ST_STM32_RTC_LABEL
|
||||
|
||||
#define DT_FLASH_DEV_BASE_ADDRESS DT_ST_STM32F7_FLASH_CONTROLLER_40023C00_BASE_ADDRESS
|
||||
#define DT_FLASH_DEV_NAME DT_ST_STM32F7_FLASH_CONTROLLER_40023C00_LABEL
|
||||
#define DT_FLASH_DEV_NAME DT_INST_0_ST_STM32F7_FLASH_CONTROLLER_LABEL
|
||||
|
||||
#define DT_CAN_1_BASE_ADDRESS DT_ST_STM32_CAN_40006400_BASE_ADDRESS
|
||||
#define DT_CAN_1_BUS_SPEED DT_ST_STM32_CAN_40006400_BUS_SPEED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue