[PATCH 00/10] mtd: spi-nor: aspeed: support extensions

Cédric Le Goater clg at kaod.org
Thu Apr 6 09:56:38 PDT 2017


Hello,

Here is a series extending the support for the Aspeed AST2500 and
AST2400 SMC driver. First is a couple of simple fixes, then comes
support for :

 - DMA which applies to the FMC (BMC Firmware) controller only.
 - Dual Data (Quad is not supported by the controller). The spi-nor
   table of chips is modified to activate DUAL mode on the chips used
   on OpenPOWER systems. 
 - Configuration of the segment registers defining the mapping windows
   of the chips on the AHB bus.
 - Command mode for reads. Reads are performed directly on the mapping
   windows of the chip on the AHB Bus.
 - Read mode optimization, calculating the best settings for a given
   chip (for the SPI controllers only)

Tested on:

 * OpenPOWER Palmetto (AST2400)
 * Evaluation board (AST2500) 
 * OpenPOWER Witherspoon (AST2500)
 * OpenPOWER Romulus (AST2500)
 * OpenPOWER Zaius (AST2500)

Thanks,

C.

Cédric Le Goater (9):
  mtd: spi-nor: aspeed: fix the AST2400 SMC window size
  mtd: spi-nor: aspeed: remove dummies from keep mask
  mtd: spi-nor: aspeed: add DMA support
  mtd: spi-nor: Add support for Macronix mx66l1g45g spi flash
  mtd: spi-nor: add SPI_NOR_DUAL_READ to some flash devices
  mtd: spi-nor: aspeed: configure chip window on AHB bus
  mtd: spi-nor: aspeed: use command mode for reads
  mtd: spi-nor: aspeed: link controller with the ahb clock
  mtd: spi-nor: aspeed: optimize read mode

Robert Lippert (1):
  mtd: spi-nor: aspeed: add support for SPI dual IO read mode

 drivers/mtd/spi-nor/aspeed-smc.c | 604 ++++++++++++++++++++++++++++++++++++++-
 drivers/mtd/spi-nor/spi-nor.c    |   9 +-
 2 files changed, 595 insertions(+), 18 deletions(-)

-- 
2.7.4




More information about the linux-mtd mailing list