diff options
Diffstat (limited to 'drivers/mtd/spi-nor/fsl-quadspi.c')
-rw-r--r-- | drivers/mtd/spi-nor/fsl-quadspi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c index 2977f026f39d..b41bbbc531ff 100644 --- a/drivers/mtd/spi-nor/fsl-quadspi.c +++ b/drivers/mtd/spi-nor/fsl-quadspi.c | |||
@@ -294,12 +294,12 @@ static void fsl_qspi_init_lut(struct fsl_qspi *q) | |||
294 | lut_base = SEQID_QUAD_READ * 4; | 294 | lut_base = SEQID_QUAD_READ * 4; |
295 | 295 | ||
296 | if (q->nor_size <= SZ_16M) { | 296 | if (q->nor_size <= SZ_16M) { |
297 | cmd = SPINOR_OP_QUAD_READ; | 297 | cmd = SPINOR_OP_READ_1_1_4; |
298 | addrlen = ADDR24BIT; | 298 | addrlen = ADDR24BIT; |
299 | dummy = 8; | 299 | dummy = 8; |
300 | } else { | 300 | } else { |
301 | /* use the 4-byte address */ | 301 | /* use the 4-byte address */ |
302 | cmd = SPINOR_OP_QUAD_READ; | 302 | cmd = SPINOR_OP_READ_1_1_4; |
303 | addrlen = ADDR32BIT; | 303 | addrlen = ADDR32BIT; |
304 | dummy = 8; | 304 | dummy = 8; |
305 | } | 305 | } |
@@ -388,7 +388,7 @@ static void fsl_qspi_init_lut(struct fsl_qspi *q) | |||
388 | static int fsl_qspi_get_seqid(struct fsl_qspi *q, u8 cmd) | 388 | static int fsl_qspi_get_seqid(struct fsl_qspi *q, u8 cmd) |
389 | { | 389 | { |
390 | switch (cmd) { | 390 | switch (cmd) { |
391 | case SPINOR_OP_QUAD_READ: | 391 | case SPINOR_OP_READ_1_1_4: |
392 | return SEQID_QUAD_READ; | 392 | return SEQID_QUAD_READ; |
393 | case SPINOR_OP_WREN: | 393 | case SPINOR_OP_WREN: |
394 | return SEQID_WREN; | 394 | return SEQID_WREN; |