Skip to content

Commit d48db8c

Browse files
committed
mtd: spinand: Remove stale definitions
SPI NAND command values are directly included in the macros defining the ops. These are stale definitions, they are unused so drop them. Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent aab8a4c commit d48db8c

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

include/linux/mtd/spinand.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,6 @@
232232
SPI_MEM_OP_NO_DUMMY, \
233233
SPI_MEM_OP_DATA_OUT(len, buf, 8))
234234

235-
/**
236-
* Standard SPI NAND flash commands
237-
*/
238-
#define SPINAND_CMD_PROG_LOAD_X4 0x32
239-
#define SPINAND_CMD_PROG_LOAD_RDM_DATA_X4 0x34
240-
241235
/* feature register */
242236
#define REG_BLOCK_LOCK 0xa0
243237
#define BL_ALL_UNLOCKED 0x00

0 commit comments

Comments
 (0)