drivers: flash: stm32: Convert to use device tree
Convert STM32 flash drivers to use device tree to get the flash controller name and base address. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
f5d64aafaa
commit
dc98605f4a
10 changed files with 33 additions and 16 deletions
|
@ -57,7 +57,7 @@
|
|||
|
||||
/* For IMG_MANAGER */
|
||||
#if defined(CONFIG_SOC_FLASH_STM32)
|
||||
#define FLASH_DRIVER_NAME CONFIG_SOC_FLASH_STM32_DEV_NAME
|
||||
#define FLASH_DRIVER_NAME FLASH_DEV_NAME
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue