diff options
author | Michael Walle <michael@walle.cc> | 2021-06-07 13:27:41 +0200 |
---|---|---|
committer | Vignesh Raghavendra <vigneshr@ti.com> | 2021-06-09 23:34:15 +0530 |
commit | b97b1a769849beb6b40b740817b06f1a50e1c589 (patch) | |
tree | 81560aafefde0530471951d6a3c8e488cb24944b /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 7ea40b54e83baed17d85567cfae56175def39a55 (diff) |
mtd: spi-nor: otp: fix access to security registers in 4 byte mode
The security registers either take a 3 byte or a 4 byte address offset,
depending on the address mode of the flash. Thus just leave the
nor->addr_width as is.
Fixes: cad3193fe9d1 ("mtd: spi-nor: implement OTP support for Winbond and similar flashes")
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Pratyush Yadav <p.yadav@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions