
Hi Jagan,
-----Original Message----- From: Prabhakar Kushwaha [mailto:prabhakar.kushwaha@nxp.com] Sent: Thursday, December 21, 2017 5:43 PM To: u-boot@lists.denx.de Cc: jagannadh.teki@gmail.com; Poonam Aggrwal poonam.aggrwal@nxp.com; Suresh Gupta suresh.gupta@nxp.com; marek.vasut@gmail.com; cyrille.pitchen@wedev4u.fr; Prabhakar Kushwaha prabhakar.kushwaha@nxp.com Subject: [PATCH 0/3][v2] sf: Update spi-nor framework
SPI-NOR framework currently supports-
- (1-1-1, 1-1-2, 1-1-4) read protocols
- read latency(dummy bytes) are hardcoded with the assumption
that the flash would support it.
- No support of mode bits.
- No support of flash size above 128Mib
This patch set add support of 1-2-2, 1-4-4 read protocols. It ports Linux commits "mtd: spi-nor: add a stateless method to support memory size above 128Mib" and "mtd: spi-nor: parse Serial Flash Discoverable Parameters (SFDP) tables". It enables 4byte address opcode and run time flash parameters discovery including dummy cycle and mode cycle.
Prabhakar Kushwaha (3): sf: Add support of 1-2-2, 1-4-4 IO READ protocols sf: add method to support memory size above 128Mib sf: parse Serial Flash Discoverable Parameters (SFDP) tables
Changes for v2: Incorporated Cyrille Pitchen's comments
drivers/mtd/spi/sf_internal.h | 231 ++++++++++++++++- drivers/mtd/spi/spi_flash.c | 589 +++++++++++++++++++++++++++++++++++++++++- include/spi_flash.h | 2 + 3 files changed, 808 insertions(+), 14 deletions(-)
--
May I rebase this patch-set on top of your " [PATCH v10 00/27] dm: Generic MTD Subsystem,with SPI-NOR interface" patch-set.
u-boot-spi.git repo will be good place for the rebase. It will help in merging my patch-set.
--pk