Define clear status register command to be used
in error handling.
Signed-off-by: Ahmed S. Khalil <[email protected]>
---
drivers/mtd/spi/sf_internal.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mtd/spi/sf_internal.h b/drivers/mtd/spi/sf_internal.h
index 839cdbe..42f2b20 100644
--- a/drivers/mtd/spi/sf_internal.h
+++ b/drivers/mtd/spi/sf_internal.h
@@ -71,6 +71,9 @@ enum spi_nor_option_flags {
# define CMD_EXTNADDR_RDEAR 0xC8
#endif
+/* Register access commands */
+#define CMD_CLEAR_STATUS 0x30
+
/* Common status */
#define STATUS_WIP BIT(0)
#define STATUS_QEB_WINSPAN BIT(1)
--
2.7.4
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot