[U-Boot] [PATCH 2/2] mtd: nand: do not check R/B# for CMD_SET_FEATURES in nand_command(_lp)

Masahiro Yamada yamada.masahiro at socionext.com
Sun Oct 15 13:31:21 UTC 2017


2017-09-15 21:44 GMT+09:00 Masahiro Yamada <yamada.masahiro at socionext.com>:
> 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.
>
> [masahiro: import Linux commit c5d664aa5a4c4b257a54eb35045031630d105f49]
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
> ---


Scott is silent, but this patch was accepted in Linux.

Applied to u-boot-uniphier.

-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list