stm32: stm32f4: move flash driver to mtd driver location
authorVikas Manocha <vikas.manocha@st.com>
Wed, 9 Mar 2016 23:18:13 +0000 (15:18 -0800)
committerTom Rini <trini@konsulko.com>
Sat, 26 Mar 2016 22:49:28 +0000 (18:49 -0400)
commit9ecb0c416c68d3105bc9b6607bc8601cab2ecf35
tree049e372d9109963019def79dceebaf24d8713c2e
parentf9d0fd8a566f78f27a510258c34b3526f9822e92
stm32: stm32f4: move flash driver to mtd driver location

Same flash driver can be used by other stm32 families like stm32f7.
Better place for this driver would be mtd driver location.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
arch/arm/include/asm/arch-stm32f4/stm32.h
arch/arm/mach-stm32/stm32f4/Makefile
arch/arm/mach-stm32/stm32f4/clock.c
arch/arm/mach-stm32/stm32f4/flash.c [deleted file]
drivers/mtd/Makefile
drivers/mtd/stm32_flash.c [new file with mode: 0644]
drivers/mtd/stm32_flash.h [new file with mode: 0644]
include/configs/stm32f429-discovery.h
include/flash.h