diff options
author | 2015-02-10 19:59:57 +0100 | |
---|---|---|
committer | 2015-03-11 15:20:29 -0700 | |
commit | 3f410690f511f9531fdc0865a931522b049d7b29 (patch) | |
tree | 85ec5c38dab6ea75421ec1109c3d18a01e6b8dd2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: mxc-nand: Only enable hardware checksumming for fully detected flashes (diff) | |
download | wireguard-linux-3f410690f511f9531fdc0865a931522b049d7b29.tar.xz wireguard-linux-3f410690f511f9531fdc0865a931522b049d7b29.zip |
mtd: mxc-nand: Do the word to byte mangling in the read_byte callback
When the hardware operates in 16 bit mode it always reads 16 bits even
for operations that only have the lower 8 bits defined. So the upper
bits must be discarded. Do this in the read_byte callback instead of
when reading the NAND id to support reading byte wise more than 5 bytes
and at other occations (like reading the ONFI parameter page).
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
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