drivers: mtd: nand: cadence: Add support for read status command

Add support for read status command
in Cadence NAND driver. This status bit is important to check
whether the flash is write-protected.

Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com>
This commit is contained in:
Dinesh Maniyam
2025-02-27 00:18:18 +08:00
committed by Michael Trimarchi
parent ebc41cadc6
commit ac682c4da9
2 changed files with 49 additions and 1 deletions

View File

@@ -454,6 +454,8 @@ struct cadence_nand_info {
u8 *buf;
u32 buf_size;
u8 *stat;
u8 cmd;
u32 buf_index;
u8 curr_corr_str_idx;