[PATCH v3 9/9] mtd: fsl-quadspi: add multi flash chip R/W on ls2080a

2016-08-18 Thread Yunhui Cui
From: Yunhui Cui There is a hardware feature that qspi_amba_base is added internally by SOC design on ls2080a. so memmap_phy need not be added in driver. If memmap_phy is added, the flash A1 addr space is [0, memmap_phy] which far more than flash size. The AMBA memory will be divided into four

[PATCH v3 3/9] mtd: spi-nor: fsl-quadspi: add fast-read mode support

2016-08-18 Thread Yunhui Cui
From: Yunhui Cui The qspi driver add generic fast-read mode for different flash venders. There are some different board flash work on different mode, such fast-read, quad-mode. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 21 - 1 file changed, 16

[PATCH v3 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-08-18 Thread Yunhui Cui
From: Yunhui Cui A-009282: QuadSPI: QuadSPI data pre-fetch can result in incorrect data Affects: QuadSPI Description: With AHB buffer prefetch enabled, the QuadSPI may return incorrect data on the AHB interface. The buffer pre-fetch is enabled if the fetch size as configured either in the LUT or

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

2016-08-18 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 Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 40

[PATCH v3 2/9] mtd: fsl-quadspi: Rename SEQID_QUAD_READ to SEQID_READ

2016-08-18 Thread Yunhui Cui
There are some read modes for flash, such as NORMAL, FAST, QUAD, DDR QUAD. These modes will use the identical lut table base So rename SEQID_QUAD_READ to SEQID_READ. Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 8 1 file changed, 4

[PATCH v3 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-08-18 Thread Yunhui Cui
From: Yunhui Cui With the physical sectors combination, S25FS-S family flash requires some special operations for read/write functions. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/spi-nor.c | 56 +++ 1 file changed, 56 insertions(+) diff --git a

[PATCH v3 7/9] mtd: fsl-quadspi: Solve Micron Spansion flash command conflict

2016-08-18 Thread Yunhui Cui
From: Yunhui Cui Add some lut_tables to support quad mode for flash n25q128 on the board ls1021a-twr and solve flash Spansion and Micron command conflict. In switch {}, The value of command SPINOR_OP_RD_EVCR and SPINOR_OP_SPANSION_RDAR is the same. They have to share the same seq_id

[PATCH v3 5/9] mtd: spi-nor: fsl-quadspi:Support qspi for ls2080a

2016-08-18 Thread Yunhui Cui
There is a hardware feature that qspi_amba_base is added internally by SOC design on ls2080a. So as to software, the driver need support to the feature. Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 24 ++-- 1 file changed, 22

[PATCH v3 4/9] mtd: spi-nor: fsl-quadspi: extend support for some special requerment.

2016-08-18 Thread Yunhui Cui
From: Yunhui Cui Add extra info in LUT table to support some special requerments. Spansion S25FS-S family flash need some special operations. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 44 +-- include/linux/mtd/spi-nor.h | 4

RE: [PATCH v2 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-08-17 Thread Yunhui Cui
On August 06, 2016 10:27 PM, Jagan Teki wrote: > On 22 April 2016 at 12:09, Yunhui Cui wrote: > > From: Yunhui Cui > > > > With the physical sectors combination, S25FS-S family flash requires > > some special operations for read/write functions. > &

RE: [PATCH v2 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-08-17 Thread Yunhui Cui
On August 16, 2016 2:03 AM, Leo wrote: > On Fri, Apr 22, 2016 at 1:39 AM, Yunhui Cui wrote: > > From: Yunhui Cui > > > > With the physical sectors combination, S25FS-S family flash requires > > some special operations for read/write functions. > &

RE: [PATCH v2] mtd: spi-nor: Add s25fs256s1 spi-nor flash support

2016-08-17 Thread Yunhui Cui
mands (20h or 21h) separately. > > So better to erase the whole flash using 4K sector erase instead of > detecting these family parts again and do two different erase operations. > > Cc: Brian Norris > Cc: Yunhui Cui > Cc: Michael Trimarchi > Signed-off-by: Jagan Teki >

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

2016-07-21 Thread Yunhui Cui
Hi David, Could you please help to review this patch set. This patch set is very importmant for fsl-quadspi driver. Thanks. Thursday, June 30, 2016 9:54 AM Yunhui Cui wrote: > Hi Brian and Han, > Could you please give me some comments about this patch set v2 ? > > Thanks > &g

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

2016-06-29 Thread Yunhui Cui
Hi Brian and Han, Could you please give me some comments about this patch set v2 ? Thanks > -Original Message- > From: Yunhui Cui [mailto:b56...@freescale.com] > Sent: Friday, April 22, 2016 2:40 PM > To: dw...@infradead.org; computersforpe...@gmail.com; > han...@fre

[PATCH v2 9/9] mtd: fsl-quadspi: add multi flash chip R/W on ls2080a

2016-04-22 Thread Yunhui Cui
From: Yunhui Cui There is a hardware feature that qspi_amba_base is added internally by SOC design on ls2080a. so memmap_phy need not be added in driver. If memmap_phy is added, the flash A1 addr space is [0, memmap_phy] which far more than flash size. The AMBA memory will be divided into four

RE: [PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-22 Thread Yunhui Cui
> -Original Message- > From: Han Xu > Sent: Friday, April 22, 2016 12:49 PM > To: Yunhui Cui; Yunhui Cui; dw...@infradead.org; > computersforpe...@gmail.com; han...@freescale.com > Cc: linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; linux- > arm-ker..

[PATCH v2 4/9] mtd: spi-nor: fsl-quadspi: extend support for some special requerment.

2016-04-22 Thread Yunhui Cui
From: Yunhui Cui Add extra info in LUT table to support some special requerments. Spansion S25FS-S family flash need some special operations. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 44 +-- include/linux/mtd/spi-nor.h | 4

[PATCH v2 5/9] mtd: spi-nor: fsl-quadspi:Support qspi for ls2080a

2016-04-22 Thread Yunhui Cui
There is a hardware feature that qspi_amba_base is added internally by SOC design on ls2080a. So as to software, the driver need support to the feature. Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 24 ++-- 1 file changed, 22

[PATCH v2 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-22 Thread Yunhui Cui
From: Yunhui Cui A-009282: QuadSPI: QuadSPI data pre-fetch can result in incorrect data Affects: QuadSPI Description: With AHB buffer prefetch enabled, the QuadSPI may return incorrect data on the AHB interface. The buffer pre-fetch is enabled if the fetch size as configured either in the LUT or

[PATCH v2 7/9] mtd: fsl-quadspi: Solve Micron Spansion flash command conflict

2016-04-21 Thread Yunhui Cui
From: Yunhui Cui Add some lut_tables to support quad mode for flash n25q128 on the board ls1021a-twr and solve flash Spansion and Micron command conflict. In switch {}, The value of command SPINOR_OP_RD_EVCR and SPINOR_OP_SPANSION_RDAR is the same. They have to share the same seq_id

[PATCH v2 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-04-21 Thread Yunhui Cui
From: Yunhui Cui With the physical sectors combination, S25FS-S family flash requires some special operations for read/write functions. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/spi-nor.c | 59 +++ 1 file changed, 59 insertions(+) diff --git a

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

2016-04-21 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 Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 40

[PATCH v2 2/9] mtd: fsl-quadspi: Rename SEQID_QUAD_READ to SEQID_READ

2016-04-21 Thread Yunhui Cui
There are some read modes for flash, such as NORMAL, FAST, QUAD, DDR QUAD. These modes will use the identical lut table base So rename SEQID_QUAD_READ to SEQID_READ. Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 8 1 file changed, 4

[PATCH v2 3/9] mtd: spi-nor: fsl-quadspi: add fast-read mode support

2016-04-21 Thread Yunhui Cui
From: Yunhui Cui The qspi driver add generic fast-read mode for different flash venders. There are some different board flash work on different mode, such fast-read, quad-mode. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 21 - 1 file changed, 16

RE: [PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-21 Thread Yunhui Cui
> -Original Message- > From: Han Xu > Sent: Thursday, April 21, 2016 11:48 PM > To: Yunhui Cui; Yunhui Cui; dw...@infradead.org; > computersforpe...@gmail.com; han...@freescale.com > Cc: linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; linux- > arm-ker..

RE: [PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-21 Thread Yunhui Cui
On Thu, Apr 24, 2016 at 06:37:01 AM +0800, Han Xu wrote: > > From: Yunhui Cui > Sent: Wednesday, April 13, 2016 9:50 PM > To: dw...@infradead.org; computersforpe...@gmail.com; > han...@freescale.com > Cc: linux-kernel@vger

[PATCH 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui With the physical sectors combination, S25FS-S family flash requires some special operations for read/write functions. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/spi-nor.c | 59 +++ 1 file changed, 59 insertions(+) diff --git a

[PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui A-009282: QuadSPI: QuadSPI data pre-fetch can result in incorrect data Affects: QuadSPI Description: With AHB buffer prefetch enabled, the QuadSPI may return incorrect data on the AHB interface. The buffer pre-fetch is enabled if the fetch size as configured either in the LUT or

[PATCH 3/9] mtd: spi-nor: fsl-quadspi: add fast-read mode support

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui The qspi driver add generic fast-read mode for different flash venders. There are some different board flash work on different mode, such fast-read, quad-mode. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 21 - 1 file changed, 16

[PATCH 9/9] mtd: fsl-quadspi: add multi flash chip R/W on ls2080a

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui There is a hardware feature that qspi_amba_base is added internally by SOC design on ls2080a. so memmap_phy need not be added in driver. If memmap_phy is added, the flash A1 addr space is [0, memmap_phy] which far more than flash size. The AMBA memory will be divided into four

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

2016-04-13 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 Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 40

[PATCH 4/9] mtd: spi-nor: fsl-quadspi: extend support for some special requerment.

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui Add extra info in LUT table to support some special requerments. Spansion S25FS-S family flash need some special operations. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 44 +-- include/linux/mtd/spi-nor.h | 4

[PATCH 5/9] mtd: spi-nor: fsl-quadspi:Support qspi for ls2080a

2016-04-13 Thread Yunhui Cui
There is a hardware feature that qspi_amba_base is added internally by SOC design on ls2080a. So as to software, the driver need support to the feature. Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 24 ++-- 1 file changed, 22

[PATCH 2/9] mtd: fsl-quadspi: Rename SEQID_QUAD_READ to SEQID_READ

2016-04-13 Thread Yunhui Cui
There are some read modes for flash, such as NORMAL, FAST, QUAD, DDR QUAD. These modes will use the identical lut table base So rename SEQID_QUAD_READ to SEQID_READ. Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 8 1 file changed, 4

spi-nor: fsl-quadspi:Support qspi for ls2080a

2016-04-13 Thread Yunhui Cui
This patch set added the basic support for ls1021-twr/ls2080a-qds.

RE: [PATCH v3 4/4] mtd: spi-nor: Disable Micron flash HW protection

2016-04-13 Thread Yunhui Cui
Hi all, I will send another patch set to replace this patch set. This patch set need not be reviewed more, Many thanks! Thanks Yunhui -Original Message- From: Bean Huo 霍斌斌 (beanhuo) [mailto:bean...@micron.com] Sent: Monday, March 21, 2016 10:56 AM To: Yunhui Cui; Yunhui Cui Cc: linux

[PATCH 7/9] mtd: fsl-quadspi: Solve Micron Spansion flash command conflict

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui Add some lut_tables to support quad mode for flash n25q128 on the board ls1021a-twr and solve flash Spansion and Micron command conflict. In switch {}, The value of command SPINOR_OP_RD_EVCR and SPINOR_OP_SPANSION_RDAR is the same. They have to share the same seq_id

RE: [PATCH] dts/ls1043a-rdb: add the DTS for DSPI support

2016-04-12 Thread Yunhui Cui
Hi Shawn, Many thanks ! Thanks Yunhui -Original Message- From: Shawn Guo [mailto:shawn...@kernel.org] Sent: Wednesday, April 13, 2016 9:53 AM To: Yunhui Cui Cc: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; Yao Yuan

RE: [PATCH v3 4/4] mtd: spi-nor: Disable Micron flash HW protection

2016-03-21 Thread Yunhui Cui
斌 (beanhuo) [mailto:bean...@micron.com] Sent: Monday, March 21, 2016 10:56 AM To: Yunhui Cui; Yunhui Cui Cc: linux-...@lists.infradead.org; dw...@infradead.org; computersforpe...@gmail.com; han...@freescale.com; linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; linux-arm-ker...@lists.infradea

RE: [PATCH v3 4/4] mtd: spi-nor: Disable Micron flash HW protection

2016-03-19 Thread Yunhui Cui
- From: Bean Huo 霍斌斌 (beanhuo) [mailto:bean...@micron.com] Sent: Thursday, March 03, 2016 9:39 PM To: Yunhui Cui Cc: linux-...@lists.infradead.org; dw...@infradead.org; computersforpe...@gmail.com; han...@freescale.com; linux-kernel@vger.kernel.org; linux-...@lists.infradead

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

2016-03-10 Thread Yunhui Cui
Hi All, Thanks for your suggestions before. Could you help me to review this patch set if you are free? Thanks Yunhui -Original Message- From: Yunhui Cui [mailto:b56...@freescale.com] Sent: Thursday, March 03, 2016 2:54 PM To: dw...@infradead.org; computersforpe...@gmail.com; han

[PATCH v3 4/4] mtd: spi-nor: Disable Micron flash HW protection

2016-03-02 Thread Yunhui Cui
From: Yunhui Cui For Micron family ,The status register write enable/disable bit, provides hardware data protection for the device. When the enable/disable bit is set to 1, the status register nonvolatile bits become read-only and the WRITE STATUS REGISTER operation will not execute. Signed-off

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

2016-03-02 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 Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 40

[PATCH v3 2/4] mtd: fsl-quadspi: Rename SEQID_QUAD_READ to SEQID_READ

2016-03-02 Thread Yunhui Cui
There are some read modes for flash, such as NORMAL, FAST, QUAD, DDR QUAD. These modes will use the identical lut table base So rename SEQID_QUAD_READ to SEQID_READ. Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 8 1 file changed, 4

[PATCH v3 3/4] mtd: spi-nor: fsl-quadspi: add fast-read mode support

2016-03-02 Thread Yunhui Cui
From: Yunhui Cui The qspi driver add generic fast-read mode for different flash venders. There are some different board flash work on different mode, such fast-read, quad-mode. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 21 - 1 file changed, 16

[PATCH] dts/ls1043a-rdb: add the DTS for DSPI support

2016-03-01 Thread Yunhui Cui
This patch adds dts nodes for DSPI on LS1043A-RDB. Signed-off-by: Yunhui Cui Signed-off-by: Yuan Yao --- arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts

RE: [PATCH v2 3/4] mtd:spi-nor:fsl-quadspi:Add fast-read mode support

2016-03-01 Thread Yunhui Cui
al Message- From: Han Xu [mailto:xhnj...@gmail.com] Sent: Tuesday, March 01, 2016 4:17 AM To: Yunhui Cui Cc: Yunhui Cui; dw...@infradead.org; computersforpe...@gmail.com; han...@freescale.com; linux-...@lists.infradead.org; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org;

RE: [PATCH v2 3/4] mtd:spi-nor:fsl-quadspi:Add fast-read mode support

2016-02-28 Thread Yunhui Cui
7 nor->flash_read = SPI_NOR_DUAL; 1428 } Thanks Yunhui -Original Message- From: Han Xu [mailto:xhnj...@gmail.com] Sent: Saturday, February 27, 2016 12:32 AM To: Yunhui Cui Cc: Yunhui Cui; dw...@infradead.org; computersforpe...@gmail.com; han...@freescal

RE: [PATCH v2 3/4] mtd:spi-nor:fsl-quadspi:Add fast-read mode support

2016-02-25 Thread Yunhui Cui
ated by DT, use it */ if (of_property_read_bool(np, "m25p,fast-read")) nor->flash_read = SPI_NOR_FAST; Thanks Yunhui -Original Message- From: Han Xu [mailto:xhnj...@gmail.com] Sent: Thursday, February 18, 2016 2:08 AM To: Yunhui

RE: [PATCH 3/3] mtd:spi-nor:fsl-quadspi:Add fast-read mode support

2016-02-01 Thread Yunhui Cui
Hi Cyrille, Thanks for your suggestions very much, I'll resend version 2 patch set. Best Regards Yunhui -Original Message- From: Cyrille Pitchen [mailto:cyrille.pitc...@atmel.com] Sent: Friday, January 29, 2016 10:51 PM To: Yunhui Cui; dw...@infradead.org; computersforpe...@gmai

[PATCH v2 3/4] mtd:spi-nor:fsl-quadspi:Add fast-read mode support

2016-02-01 Thread Yunhui Cui
The qspi driver add generic fast-read mode for different flash venders. There are some different board flash work on different mode, such fast-read, quad-mode. So we have to modify the third entrace parameter of spi_nor_scan(). Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c

[PATCH v2 4/4] mtd:spi_nor: Disable Micron flash HW protection

2016-02-01 Thread Yunhui Cui
For Micron family ,The status register write enable/disable bit, provides hardware data protection for the device. When the enable/disable bit is set to 1, the status register nonvolatile bits become read-only and the WRITE STATUS REGISTER operation will not execute. Signed-off-by: Yunhui Cui

[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 2/4] mtd: fsl-quadspi: Rename SEQID_QUAD_READ to SEQID_READ

2016-02-01 Thread Yunhui Cui
There are some read modes for flash, such as NORMAL, FAST, QUAD, DDR QUAD. These modes will use the identical lut table base So rename SEQID_QUAD_READ to SEQID_READ. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 8 1 file changed, 4 insertions(+), 4 deletions

[PATCH 3/3] mtd:spi-nor:fsl-quadspi:Add fast-read mode support

2016-01-29 Thread Yunhui Cui
The qspi driver add generic fast-read mode for different flash venders, including Micron family. Also add some special operations for Micron flash read/write in spi-nor.c. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 27 +-- drivers/mtd/spi-nor/spi

[PATCH 2/3] mtd: fsl-quadspi: Rename SEQID_QUAD_READ to SEQID_READ

2016-01-29 Thread Yunhui Cui
There are some read modes for flash, such as NORMAL, FAST, QUAD, DDR QUAD. These modes will use the identical lut table base So rename SEQID_QUAD_READ to SEQID_READ. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 8 1 file changed, 4 insertions(+), 4 deletions

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

2016-01-29 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 0/3] mtd:fsl-quadspi:add support for the flash on LS1021ATWR

2016-01-29 Thread Yunhui Cui
This patch set depend on the patch: { https://patchwork.ozlabs.org/patch/545926/ LS1021a also support Freescale Quad SPI controller. Add fsl-quadspi support for ls1021a chip and make SPI_FSL_QUADSPI selectable for LS1021A SOC hardwares. } There is a N25Q128 flash on LS1021ATWR. This patch test on