firmware/br-ext-chip-goke/board/gk7205v200/kernel/patches/00_include-linux-mtd-nand.h...

38 lines
1.2 KiB
Diff

--- linux-4.9.37/include/linux/mtd/nand.h 2017-07-12 16:42:41.000000000 +0300
+++ linux-4.9.y/include/linux/mtd/nand.h 2021-06-07 13:01:34.000000000 +0300
@@ -80,6 +80,7 @@
#define NAND_CMD_READOOB 0x50
#define NAND_CMD_ERASE1 0x60
#define NAND_CMD_STATUS 0x70
+#define NAND_CMD_STATUS_MULTI 0x71
#define NAND_CMD_SEQIN 0x80
#define NAND_CMD_RNDIN 0x85
#define NAND_CMD_READID 0x90
@@ -87,6 +88,7 @@
#define NAND_CMD_PARAM 0xec
#define NAND_CMD_GET_FEATURES 0xee
#define NAND_CMD_SET_FEATURES 0xef
+#define NAND_CMD_SYNC_RESET 0xfc
#define NAND_CMD_RESET 0xff
#define NAND_CMD_LOCK 0x2a
@@ -925,9 +927,18 @@
#define NAND_MFR_AMD 0x01
#define NAND_MFR_MACRONIX 0xc2
#define NAND_MFR_EON 0x92
+#define NAND_MFR_WINBOND 0xef
+#define NAND_MFR_ATO 0x9b
+#define NAND_MFR_MXIC 0xc2
+#define NAND_MFR_ALL_FLASH 0xc1
+#define NAND_MFR_PARAGON 0xa1
#define NAND_MFR_SANDISK 0x45
#define NAND_MFR_INTEL 0x89
#define NAND_MFR_ATO 0x9b
+#define NAND_MFR_GD_ESMT 0xc8
+#define NAND_MFR_HEYANGTEK 0xc9
+#define NAND_MFR_DOSILICON 0xe5
+#define NAND_MFR_FIDELIX 0xf8
/* The maximum expected count of bytes in the NAND ID sequence */
#define NAND_MAX_ID_LEN 8