diff options
author | 2014-04-07 11:58:18 -0500 | |
---|---|---|
committer | 2014-05-20 17:36:34 -0700 | |
commit | 2170480487e3dee8a74204ce346b1b1096a13fd0 (patch) | |
tree | 12075dbaf7acb4a16d76c84c771c43eccdaaecef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: fsl_ifc_nand: Use void type for IFC buffer (diff) | |
download | linux-dev-2170480487e3dee8a74204ce346b1b1096a13fd0.tar.xz linux-dev-2170480487e3dee8a74204ce346b1b1096a13fd0.zip |
mtd: fsl_ifc_nand: Workaround bogus WP on 16-bit NAND
A workaround was already in place that set the WP bit in the
IFC_CSPR0 register after a STATUS command, however it used an 8-bit
write method. As a result, the WP bit was never set on 16-bit devices,
and these devices would eventually be incorrectly marked as
write-protected.
This patch checks the chip options for a 16-bit device and uses the
appropriate write method to set the WP bit after a STATUS command.
Signed-off-by: Joe Schultz <jschultz@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions