OSDN Git Service

mtd: spi-nor: parse Serial Flash Discoverable Parameters (SFDP) tables
authorCyrille Pitchen <cyrille.pitchen@microchip.com>
Mon, 26 Jun 2017 13:10:00 +0000 (15:10 +0200)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 18 Jul 2017 12:37:18 +0000 (14:37 +0200)
commitf384b352cbf0310fd20c379c4710408c70e769b6
treefa96cc05c1f6239f747e4d1e3a2de92659938fe3
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
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>
drivers/mtd/spi-nor/spi-nor.c
include/linux/mtd/spi-nor.h