diff options
author | 2019-08-24 12:07:16 +0000 | |
---|---|---|
committer | 2019-08-28 12:40:29 +0300 | |
commit | 641edddb4f43e8adfd851aea3e48ba35c3b81f4a (patch) | |
tree | 479dca784b28e541c31a950465f581853762b794 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: spi-nor: Add a ->setup() method (diff) | |
download | wireguard-linux-641edddb4f43e8adfd851aea3e48ba35c3b81f4a.tar.xz wireguard-linux-641edddb4f43e8adfd851aea3e48ba35c3b81f4a.zip |
mtd: spi-nor: Add s3an_post_sfdp_fixups()
s3an_nor_scan() was overriding the opcode selection done in
spi_nor_default_setup(). Set nor->setup() method in order to
avoid the unnecessary call to spi_nor_default_setup().
Now that the call to spi_nor_default_setup() is skipped, set
mtd.erasesize to nor->info->sector_size, as it was when
spi_nor_select_erase() was called.
No dummy byte is required for the S3AN's Random Read command (0x03),
so no need to set nor->read_dummy.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions