[PATCH v2 linux dev-4.7 0/7] Aspeed SMC improvements

Cédric Le Goater clg at kaod.org
Wed Nov 9 19:15:36 AEDT 2016


Hello,

Here is short serie improving the Aspeed SMC driver. There are a
couple of fixes and also changes preparing ground for read
optimization.

Patch 1 and 2 are fixes for the current driver. When merging all the
code before sending a v1 to mainline, a few minor errors slipped
through.

Patch 3 and 4 are cleanups.

Patch 5 and 6 should not have any impacts as we are not using DMAs or
fast reads, yet.

Patch 7 is more important as the IO routines are completely reworked.

I dropped the patch activating command mode for read. It is broken on
the witherspoon because the size of the flash module is larger than
the maximum allowable segment window for a CS. It would nice to
activate it when possible but this requires more checks. 

I gave the patches a good test on a palmetto, an ast2500 evb and a
witherspool and the overall result should be a v2 for upstream.

Cheers,

C.

Cédric Le Goater (7):
  mtd: spi-nor: aspeed: fix setting of the register control value for
    writes
  mtd: spi-nor: aspeed: improve 4 bytes mode
  mtd: spi-nor: aspeed: extend the bits definitions
  mtd: spi-nor: aspeed: add some logging
  mtd: spi-nor: aspeed: use smc_read mode when doing DMAs
  mtd: spi-nor: aspeed: prepare for fast read
  mtd: spi-nor: aspeed: rework io routines

 drivers/mtd/spi-nor/aspeed-smc.c | 265 ++++++++++++++++++++++-----------------
 1 file changed, 151 insertions(+), 114 deletions(-)

-- 
2.7.4



More information about the openbmc mailing list