
Hi Jagan ,
On Mar 9, 2016, at 6:53 PM, Jagan Teki jteki@openedev.com wrote:
On Thursday 10 March 2016 04:48 AM, Vikas Manocha wrote: Same flash driver can be used by other stm32 families like stm32f7. Better place for this driver would be mtd driver location.
What kind of flash is it, parallel or serial NOR?
It is embedded 256 bit NOR flash.
Cheers, Vikas
Signed-off-by: Vikas Manocha vikas.manocha@st.com
arch/arm/include/asm/arch-stm32f4/stm32.h | 31 ++++++------------- arch/arm/mach-stm32/stm32f4/Makefile | 2 +- arch/arm/mach-stm32/stm32f4/clock.c | 10 +------ drivers/mtd/Makefile | 1 + .../stm32f4/flash.c => drivers/mtd/stm32_flash.c | 35 +++++++++++----------- drivers/mtd/stm32_flash.h | 27 +++++++++++++++++ include/configs/stm32f429-discovery.h | 1 + include/flash.h | 2 +- 8 files changed, 59 insertions(+), 50 deletions(-) rename arch/arm/mach-stm32/stm32f4/flash.c => drivers/mtd/stm32_flash.c (82%) create mode 100644 drivers/mtd/stm32_flash.h
-- Jagan.