mtd: spi-nor: parse Serial Flash Discoverable Parameters (SFDP) tables

This patch adds support to the JESD216 rev B standard and parses the SFDP
tables to dynamically initialize the 'struct spi_nor_flash_parameter'.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@microchip.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
This commit is contained in:
Cyrille Pitchen 2017-06-26 15:10:00 +02:00 • committed by Cyrille Pitchen
commit f384b352cb
2 changed files with 768 additions and 13 deletions