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
6
arch/arm/soc/st_stm32/stm32f0/dts.fixup
Normal file
6
arch/arm/soc/st_stm32/stm32f0/dts.fixup
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* SoC level DTS fixup file */
|
||||
|
||||
#define FLASH_DEV_BASE_ADDRESS ST_STM32F0_FLASH_CONTROLLER_40022000_BASE_ADDRESS_0
|
||||
#define FLASH_DEV_NAME ST_STM32F0_FLASH_CONTROLLER_40022000_LABEL
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
Loading…
Add table
Add a link
Reference in a new issue