Re: [PATCH V1 1/1] mtd: mtk-nor: set controller to 4B mode with large capacity flash

2017-04-04 Thread Guochun Mao
Hi Cyrille, Thank you for so detailed explanation. I'll check nor->addr_width in both mt8173_nor_read() and mt8173_nor_write(). Best regards, Guochun On Fri, 2017-03-31 at 10:56 +0200, Cyrille Pitchen wrote: > Le 31/03/2017 à 04:26, Guochun Mao a écrit : > > Hi Cyrille, Marek, > > > > Thanks fo

Re: [PATCH V1 1/1] mtd: mtk-nor: set controller to 4B mode with large capacity flash

2017-03-31 Thread Cyrille Pitchen
Le 31/03/2017 à 04:26, Guochun Mao a écrit : > Hi Cyrille, Marek, > > Thanks for your suggestions. > > On Thu, 2017-03-30 at 19:40 +0200, Cyrille Pitchen wrote: >> Hi Guochun, >> >> Le 30/03/2017 à 10:23, Guochun Mao a écrit : >>> when nor's size larger than 16MByte, nor and controller should >>>

Re: [PATCH V1 1/1] mtd: mtk-nor: set controller to 4B mode with large capacity flash

2017-03-30 Thread Guochun Mao
Hi Cyrille, Marek, Thanks for your suggestions. On Thu, 2017-03-30 at 19:40 +0200, Cyrille Pitchen wrote: > Hi Guochun, > > Le 30/03/2017 à 10:23, Guochun Mao a écrit : > > when nor's size larger than 16MByte, nor and controller should > > enter 4Byte mode simultaneously. > > > > Signed-off-by:

Re: [PATCH V1 1/1] mtd: mtk-nor: set controller to 4B mode with large capacity flash

2017-03-30 Thread Cyrille Pitchen
Hi Guochun, Le 30/03/2017 à 10:23, Guochun Mao a écrit : > when nor's size larger than 16MByte, nor and controller should > enter 4Byte mode simultaneously. > > Signed-off-by: Guochun Mao > --- > drivers/mtd/spi-nor/mtk-quadspi.c |7 +++ > 1 file changed, 7 insertions(+) > > diff --git

Re: [PATCH V1 1/1] mtd: mtk-nor: set controller to 4B mode with large capacity flash

2017-03-30 Thread Marek Vasut
On 03/30/2017 10:23 AM, Guochun Mao wrote: > when nor's size larger than 16MByte, nor and controller should > enter 4Byte mode simultaneously. > > Signed-off-by: Guochun Mao > --- > drivers/mtd/spi-nor/mtk-quadspi.c |7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/mtd/

[PATCH V1 1/1] mtd: mtk-nor: set controller to 4B mode with large capacity flash

2017-03-30 Thread Guochun Mao
when nor's size larger than 16MByte, nor and controller should enter 4Byte mode simultaneously. Signed-off-by: Guochun Mao --- drivers/mtd/spi-nor/mtk-quadspi.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mtd/spi-nor/mtk-quadspi.c b/drivers/mtd/spi-nor/mtk-quadspi.c in