summaryrefslogtreecommitdiff
path: root/include/cadence-nand.h
diff options
context:
space:
mode:
authorDinesh Maniyam <dinesh.maniyam@intel.com>2025-02-27 00:18:18 +0800
committerMichael Trimarchi <michael@amarulasolutions.com>2025-03-15 10:35:00 +0100
commitac682c4da990c9235c0e890241491fcd52aa731b (patch)
treebbb02e6d862454a94ae5af6f09ae43d0d78f9553 /include/cadence-nand.h
parentebc41cadc6bf9cdd092469c779557a40293b882e (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 <dinesh.maniyam@intel.com>
Diffstat (limited to 'include/cadence-nand.h')
-rw-r--r--include/cadence-nand.h2
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;