All of lore.kernel.org
 help / color / mirror / Atom feed
From: Horatiu Vultur <horatiu.vultur@microchip.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] mtd: spi: Add MSCC SPI flash driver
Date: Wed, 16 Jan 2019 13:07:52 +0100	[thread overview]
Message-ID: <1547640475-26939-1-git-send-email-horatiu.vultur@microchip.com> (raw)

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

             reply	other threads:[~2019-01-16 12:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-16 12:07 Horatiu Vultur [this message]
2019-01-16 12:07 ` [U-Boot] [PATCH 1/3] mtd: spi: export functions to sf_internal.h Horatiu Vultur
2019-01-16 14:07   ` Daniel Schwierzeck
2019-01-17 12:13     ` Horatiu Vultur
2019-01-16 12:07 ` [U-Boot] [PATCH 2/3] mtd: spi: add MSCC SPI flash driver Horatiu Vultur
2019-01-16 12:07 ` [U-Boot] [PATCH 3/3] mips: mscc: use MSCC SPI flash driver for Luton Horatiu Vultur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1547640475-26939-1-git-send-email-horatiu.vultur@microchip.com \
    --to=horatiu.vultur@microchip.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.