]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: nand: do not check R/B# for CMD_SET_FEATURES in nand_command(_lp)
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 15 Sep 2017 12:44:59 +0000 (21:44 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 15 Oct 2017 13:32:10 +0000 (22:32 +0900)
commit34176938fc0ec700c84d3152136d92890d35ed95
tree2c02618af8b8bba9d7a3f4582746e34dbfc0ba7b
parent624c2a3c101d53c3a3b723bb8964db2e094de611
mtd: nand: do not check R/B# for CMD_SET_FEATURES in nand_command(_lp)

Set Features (0xEF) command toggles the R/B# pin after 4 sub feature
parameters are written.

Currently, nand_command(_lp) calls chip->dev_ready immediately after
the address cycle because NAND_CMD_SET_FEATURES falls into default:
label.  No wait is needed at this point.

If you see nand_onfi_set_features(), R/B# is already cared by the
chip->waitfunc call.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[ Linux commit: c5d664aa5a4c4b257a54eb35045031630d105f49 ]
drivers/mtd/nand/nand_base.c