diff options
| author | Brian Norris <[email protected]> | 2013-11-30 06:04:28 +0000 |
|---|---|---|
| committer | Brian Norris <[email protected]> | 2014-03-11 05:42:23 +0000 |
| commit | bd9c6e99b58255b9de1982711ac9487c9a2f18be (patch) | |
| tree | b0c1ff4a9640b513b6a871679feb5c3ba55292c0 /drivers/mtd/lpddr/lpddr_cmds.c | |
| parent | mtd: nand: force NAND_CMD_READID onto 8-bit bus (diff) | |
| download | kernel-bd9c6e99b58255b9de1982711ac9487c9a2f18be.tar.gz kernel-bd9c6e99b58255b9de1982711ac9487c9a2f18be.zip | |
mtd: nand: don't use read_buf for 8-bit ONFI transfers
Use a repeated read_byte() instead of read_buf(), since for x16 buswidth
devices, we need to avoid the upper I/O[16:9] bits. See the following
commit for reference:
commit 05f7835975dad6b3b517f9e23415985e648fb875
Author: Uwe Kleine-König <[email protected]>
Date: Thu Dec 5 22:22:04 2013 +0100
mtd: nand: don't use {read,write}_buf for 8-bit transfers
Now, I think that all barriers to probing ONFI on x16 devices are
removed, so remove the check from nand_flash_detect_onfi().
Tested on 8-bit ONFI NAND (Micron MT29F32G08CBADAWP).
Signed-off-by: Brian Norris <[email protected]>
Tested-by: Ezequiel Garcia <[email protected]>
Tested-By: Pekon Gupta <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions
