diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2019-08-24 12:00:39 +0000 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-08-28 12:40:27 +0300 |
commit | 48e4d973aefeea6080e6f6dc69326a66004c7923 (patch) | |
tree | 75cc7e04e2d449f6758dd32fdf2ed7a731a10d47 /drivers/mtd/parsers/parser_trx.c | |
parent | ce0b6f3f3c43271f4486c7255656277cc5996f6e (diff) |
mtd: spi-nor: Add a default_init() fixup hook for gd25q256
gd25q256 needs to tweak the ->quad_enable() implementation and the
->default_init() fixup hook is the perfect place to do that. This way,
if we ever need to tweak more things for this flash, we won't have to
add new fields in flash_info.
We can get rid of the flash_info->quad_enable field as gd25q256 was
the only user.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
[tudor.ambarus@microchip.com: use ->default_init() hook instead of
->post_sfdp()]
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'drivers/mtd/parsers/parser_trx.c')
0 files changed, 0 insertions, 0 deletions