10 #define CMD_MX25XX_WREN 0x06
11 #define CMD_MX25XX_WRDI 0x04
12 #define CMD_MX25XX_RDSR 0x05
13 #define CMD_MX25XX_WRSR 0x01
14 #define CMD_MX25XX_READ 0x03
15 #define CMD_MX25XX_FAST_READ 0x0b
16 #define CMD_MX25XX_PP 0x02
17 #define CMD_MX25XX_SE 0x20
18 #define CMD_MX25XX_BE 0xD8
19 #define CMD_MX25XX_CE 0xc7
20 #define CMD_MX25XX_DP 0xb9
21 #define CMD_MX25XX_RES 0xab
23 #define MACRONIX_SR_WIP (1 << 0)
29 .nr_sectors_shift = 8,
34 .nr_sectors_shift = 9,
39 .nr_sectors_shift = 10,
44 .nr_sectors_shift = 11,
49 .nr_sectors_shift = 12,
54 .nr_sectors_shift = 13,
59 .nr_sectors_shift = 14,
64 .nr_sectors_shift = 9,
79 .nr_sectors_shift = 9,
80 .fast_read_dual_io_support = 1,
85 .nr_sectors_shift = 8,
86 .fast_read_dual_io_support = 1,
91 .nr_sectors_shift = 9,
92 .fast_read_dual_io_support = 1,
97 .nr_sectors_shift = 10,
98 .fast_read_dual_io_support = 1,
103 .nr_sectors_shift = 11,
104 .fast_read_dual_io_support = 1,
109 .nr_sectors_shift = 12,
110 .fast_read_dual_io_support = 1,
115 .nr_sectors_shift = 13,
116 .fast_read_dual_io_support = 1,
121 .nr_sectors_shift = 14,
122 .fast_read_dual_io_support = 1,
127 .nr_sectors_shift = 12,
128 .fast_read_dual_io_support = 1,
133 .nr_sectors_shift = 10,
134 .fast_read_dual_io_support = 1,
139 .nr_sectors_shift = 11,
145 .page_size_shift = 8,
146 .sector_size_kib_shift = 2,
147 .match_id_mask[0] = 0xffff,
static const struct spi_flash_part_id flash_table[]
const struct spi_flash_vendor_info spi_flash_macronix_vi
#define VENDOR_ID_MACRONIX
const struct spi_flash_ops_descriptor spi_flash_pp_0x20_sector_desc