[PATCH v2 1/4] mtd:fsl-quadspi:use the property fields of SPI-NOR

2016-02-01 Thread Yunhui Cui
We can get the read/write/erase opcode from the spi nor framework directly. This patch uses the information stored in the SPI-NOR to remove the hardcode in the fsl_qspi_init_lut(). Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 40 --- 1

[PATCH v2 1/4] mtd:fsl-quadspi:use the property fields of SPI-NOR

2016-02-01 Thread Yunhui Cui
We can get the read/write/erase opcode from the spi nor framework directly. This patch uses the information stored in the SPI-NOR to remove the hardcode in the fsl_qspi_init_lut(). Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 40