summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2019-08-24 10:17:20 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2019-08-28 12:40:29 +0300
commit36499596280359d34a0663afe0abbf34d80862e8 (patch)
tree53eb5f588a93d341d4589e1dc570104a17409d70 /tools/perf/scripts/python
parent92094ebc385ef52d45e27d23e9a7c32abf8df44e (diff)
mtd: spi-nor: Add a ->convert_addr() method
In order to separate manufacturer quirks from the core we need to get rid of all the manufacturer specific flags, like the SNOR_F_S3AN_ADDR_DEFAULT one. This can easily be replaced by a ->convert_addr() hook, which when implemented will provide the core with an easy way to convert an absolute address into something the flash understands. Right now the only user are the S3AN chips, but other manufacturers can implement it if needed. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions