mtd: spi: spi-nor-core: Add SFDP support
authorVignesh R <vigneshr@ti.com>
Tue, 5 Feb 2019 05:59:20 +0000 (11:29 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 7 Feb 2019 10:03:21 +0000 (15:33 +0530)
commit0c6f187cdb18b52bcf6d3964771cf3a36b758568
tree42f18ffb0855e74a0dece43148519486511effdb
parent61059bc55ab108bdd53c953480b3f84f9d6100ab
mtd: spi: spi-nor-core: Add SFDP support

Sync Serial Flash Discoverable Parameters (SFDP) parsing support from
Linux. This allows auto detection and configuration of Flash parameters.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Tested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Tested-by: Stefan Roese <sr@denx.de>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed
common/spl/Kconfig
drivers/mtd/spi/Kconfig
drivers/mtd/spi/spi-nor-core.c