diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-02-10 19:59:57 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-03-11 15:20:29 -0700 |
commit | 3f410690f511f9531fdc0865a931522b049d7b29 (patch) | |
tree | 85ec5c38dab6ea75421ec1109c3d18a01e6b8dd2 /tools/time | |
parent | 1f42adc8880d0692c3cb7b6adb247f17c4983081 (diff) |
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/time')
0 files changed, 0 insertions, 0 deletions