@@ -92,28 +92,4 @@ Additional information of the above commands:
92
92
In addition, support for these commands is recommended:
93
93
S_CMD_Q_PGMNAME, S_CMD_Q_BUSTYPE, S_CMD_Q_CHIPSIZE (if parallel).
94
94
95
-
96
- This define listing should help C coders - (it's here to be the single source for copying - will be a .h someday i think)
97
- #define S_ACK 0x06
98
- #define S_NAK 0x15
99
- #define S_CMD_NOP 0x00 /* No operation */
100
- #define S_CMD_Q_IFACE 0x01 /* Query interface version */
101
- #define S_CMD_Q_CMDMAP 0x02 /* Query supported commands bitmap */
102
- #define S_CMD_Q_PGMNAME 0x03 /* Query programmer name */
103
- #define S_CMD_Q_SERBUF 0x04 /* Query Serial Buffer Size */
104
- #define S_CMD_Q_BUSTYPE 0x05 /* Query supported bustypes */
105
- #define S_CMD_Q_CHIPSIZE 0x06 /* Query supported chipsize (2^n format) */
106
- #define S_CMD_Q_OPBUF 0x07 /* Query operation buffer size */
107
- #define S_CMD_Q_WRNMAXLEN 0x08 /* Query Write to opbuf: Write-N maximum length */
108
- #define S_CMD_R_BYTE 0x09 /* Read a single byte */
109
- #define S_CMD_R_NBYTES 0x0A /* Read n bytes */
110
- #define S_CMD_O_INIT 0x0B /* Initialize operation buffer */
111
- #define S_CMD_O_WRITEB 0x0C /* Write opbuf: Write byte with address */
112
- #define S_CMD_O_WRITEN 0x0D /* Write to opbuf: Write-N */
113
- #define S_CMD_O_DELAY 0x0E /* Write opbuf: udelay */
114
- #define S_CMD_O_EXEC 0x0F /* Execute operation buffer */
115
- #define S_CMD_SYNCNOP 0x10 /* Special no-operation that returns NAK+ACK */
116
- #define S_CMD_Q_RDNMAXLEN 0x11 /* Query read-n maximum length */
117
- #define S_CMD_S_BUSTYPE 0x12 /* Set used bustype(s). */
118
- #define S_CMD_O_SPIOP 0x13 /* Perform SPI operation. */
119
- #define S_CMD_S_SPI_FREQ 0x14 /* Set SPI clock frequency */
95
+ See also serprog.h.
0 commit comments