[U-Boot] [PATCH 0/3] mtd: spi: Add MSCC SPI flash driver

Horatiu Vultur horatiu.vultur at microchip.com
Wed Jan 16 12:07:52 UTC 2019


This patch series adds MSCC SPI flash driver. The VCore III SoCs can access
directly the flash through memory, this direct mapping is working only for
read functions. The other operations are going through SPI driver.

This improves the read performace by a factor of 4.75.

This patch series is based on u-boot-mips/next.

Horatiu Vultur (3):
  mtd: spi: export functions to sf_internal.h
  mtd: spi: add MSCC SPI flash driver
  mips: mscc: use MSCC SPI flash driver for Luton

 MAINTAINERS                     |  1 +
 arch/mips/dts/luton_pcb090.dts  |  3 +-
 arch/mips/dts/luton_pcb091.dts  |  3 +-
 configs/mscc_luton_defconfig    |  1 +
 drivers/mtd/spi/Kconfig         |  8 +++++
 drivers/mtd/spi/Makefile        |  1 +
 drivers/mtd/spi/sf_internal.h   |  8 +++++
 drivers/mtd/spi/sf_mscc_flash.c | 76 +++++++++++++++++++++++++++++++++++++++++
 drivers/mtd/spi/sf_probe.c      |  8 ++---
 drivers/mtd/spi/spi_flash.c     |  4 +--
 10 files changed, 105 insertions(+), 8 deletions(-)
 create mode 100644 drivers/mtd/spi/sf_mscc_flash.c

-- 
2.7.4



More information about the U-Boot mailing list