diff options
| author | Dinesh Maniyam <[email protected]> | 2025-02-27 00:18:18 +0800 |
|---|---|---|
| committer | Michael Trimarchi <[email protected]> | 2025-03-15 10:35:00 +0100 |
| commit | ac682c4da990c9235c0e890241491fcd52aa731b (patch) | |
| tree | bbb02e6d862454a94ae5af6f09ae43d0d78f9553 /include | |
| parent | ebc41cadc6bf9cdd092469c779557a40293b882e (diff) | |
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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/cadence-nand.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cadence-nand.h b/include/cadence-nand.h index 7973e5b55bf..27ed217b1ed 100644 --- a/include/cadence-nand.h +++ b/include/cadence-nand.h @@ -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; |
