Lines Matching +full:- +full:- +full:erase
2 * Copyright (c) 2018 Savoir-Faire Linux.
4 * SPDX-License-Identifier: Apache-2.0
27 #define SPI_NOR_CMD_DREAD 0x3B /* Read data (1-1-2) */
28 #define SPI_NOR_CMD_2READ 0xBB /* Read data (1-2-2) */
29 #define SPI_NOR_CMD_QREAD 0x6B /* Read data (1-1-4) */
30 #define SPI_NOR_CMD_4READ 0xEB /* Read data (1-4-4) */
34 #define SPI_NOR_CMD_PP_1_1_2 0xA2 /* Dual Page program (1-1-2) */
35 #define SPI_NOR_CMD_PP_1_1_4 0x32 /* Quad Page program (1-1-4) */
36 #define SPI_NOR_CMD_PP_1_4_4 0x38 /* Quad Page program (1-4-4) */
38 #define SPI_NOR_CMD_SE 0x20 /* Sector erase */
39 #define SPI_NOR_CMD_SE_4B 0x21 /* Sector erase 4 byte address*/
40 #define SPI_NOR_CMD_BE_32K 0x52 /* Block erase 32KB */
41 #define SPI_NOR_CMD_BE 0xD8 /* Block erase */
42 #define SPI_NOR_CMD_BE_4B 0xDC /* Block erase 4 byte address*/
43 #define SPI_NOR_CMD_CE 0xC7 /* Chip erase */
46 #define SPI_NOR_CMD_4BA 0xB7 /* Enter 4-Byte Address Mode */
53 #define SPI_NOR_CMD_BULKE 0x60 /* Bulk Erase */
56 #define SPI_NOR_CMD_DREAD_4B 0x3C /* Read data (1-1-2) 4 Byte Address */
57 #define SPI_NOR_CMD_2READ_4B 0xBC /* Read data (1-2-2) 4 Byte Address */
58 #define SPI_NOR_CMD_QREAD_4B 0x6C /* Read data (1-1-4) 4 Byte Address */
59 #define SPI_NOR_CMD_4READ_4B 0xEC /* Read data (1-4-4) 4 Byte Address */
61 #define SPI_NOR_CMD_PP_1_1_4_4B 0x34 /* Quad Page program (1-1-4) 4 Byte Address */
62 #define SPI_NOR_CMD_PP_1_4_4_4B 0x3e /* Quad Page program (1-4-4) 4 Byte Address */
65 #define SPI_NOR_OCMD_SE 0x21DE /* Octal Sector erase */
66 #define SPI_NOR_OCMD_CE 0xC738 /* Octal Chip erase */
77 #define SPI_NOR_OCMD_BULKE 0x609F /* Octa Bulk Erase */
84 /* Flash Auto-polling values */