drivers/flash: Move STM32F3 to generic STM32 series driver

A common driver is shared between stm32 chips, which was not the case
for stm32f3 series. As a consequence stm32f3 was not maintained
equally and was missing features such as flash layout or dts based
configuration.
Besides, drivers had some flows such as wrong bus clock and
missing HSI clock activation which lead to issues on boards not
using HSI as main clock.
As a consequence this commit moves stm32f3 series flash driver to
common stm32 flash drivers.

Fixes #4197

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-02-14 15:38:52 +01:00 committed by Kumar Gala
commit 82403f68e2
8 changed files with 162 additions and 395 deletions

View file

@ -40,7 +40,7 @@ union ef_acr {
};
/* 3.3.3 Embedded flash registers */
struct stm32_flash {
struct stm32f3x_flash {
union ef_acr acr;
u32_t keyr;
u32_t optkeyr;