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?


Signed-off-by: Vikas Manocha <vikas.mano...@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.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to