[PATCH v4 12/23] mtd: nand: denali: fix NAND_CMD_STATUS handling

2017-06-05 Thread Masahiro Yamada
The current NAND_CMD_STATUS handling is weird; it just reads the WRITE_PROTECT register, and returns NAND_STATUS_WP if it is set. It does not send Read Status (0x70) command, so it is not helpful for checking the current device status. Signed-off-by: Masahiro Yamada

[PATCH v4 12/23] mtd: nand: denali: fix NAND_CMD_STATUS handling

2017-06-05 Thread Masahiro Yamada
The current NAND_CMD_STATUS handling is weird; it just reads the WRITE_PROTECT register, and returns NAND_STATUS_WP if it is set. It does not send Read Status (0x70) command, so it is not helpful for checking the current device status. Signed-off-by: Masahiro Yamada --- Changes in v4: None