From ac682c4da990c9235c0e890241491fcd52aa731b Mon Sep 17 00:00:00 2001 From: Dinesh Maniyam Date: Thu, 27 Feb 2025 00:18:18 +0800 Subject: 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 --- include/cadence-nand.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.3.1