[U-Boot] [RESEND 1/2] stm32: stm32f4: move flash driver to mtd driver location

Jagan Teki jteki at openedev.com
Thu Mar 10 03:52:53 CET 2016


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.manocha at 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.


More information about the U-Boot mailing list