zephyr/drivers/flash
Neil Armstrong a9183cd518 flash: Rework and add flash device support for STM32L4x SoCs
The STM32L4x SoCs embeds a slightly different embedded flash controller
from the STM32F4x SoCs.

This particular controller has the following properties :
 - Up to 2 512KiB banks divided in 2KiB pages
 - Flash can be accessed in any sizes
 - Flash must be written in 64bit aligned 64bit double-words

The drivers/flash/flash_stm32f4x.c is refactored into a new common
drivers/flash/flash_stm32.c and drivers/flash/flash_stm32l4x.c is
created with the STM32L4x specific functions.

To ease the refactoring and keep common functions, the STM32L4x flash
headers are slightly modified to match the hardware reference naming
and solve compilation issues.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2017-05-19 10:06:48 -04:00
..
Kconfig flash: Rework and add flash device support for STM32L4x SoCs 2017-05-19 10:06:48 -04:00
Kconfig.stm32 flash: Rework and add flash device support for STM32L4x SoCs 2017-05-19 10:06:48 -04:00
Makefile flash: Rework and add flash device support for STM32L4x SoCs 2017-05-19 10:06:48 -04:00
flash_stm32.c flash: Rework and add flash device support for STM32L4x SoCs 2017-05-19 10:06:48 -04:00
flash_stm32.h flash: Rework and add flash device support for STM32L4x SoCs 2017-05-19 10:06:48 -04:00
flash_stm32f3x.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
flash_stm32f3x.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
flash_stm32f3x_priv.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
flash_stm32f4x.c flash: Rework and add flash device support for STM32L4x SoCs 2017-05-19 10:06:48 -04:00
flash_stm32l4x.c flash: Rework and add flash device support for STM32L4x SoCs 2017-05-19 10:06:48 -04:00
soc_flash_mcux.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
soc_flash_nrf5.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
soc_flash_qmsi.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
spi_flash_w25qxxdv.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
spi_flash_w25qxxdv.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
spi_flash_w25qxxdv_defs.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00