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:
Kumar Gala 2018-01-19 14:58:39 -06:00 committed by Kumar Gala
commit dc98605f4a
10 changed files with 33 additions and 16 deletions

View file

@ -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 */