[V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for dual qspi mode

2020-01-06 Thread quanyang.wang
From: Quanyang Wang The zcu102 and zc706 boards support qspi dual mode, and in the dual mode, the erasesize for mtd device should be twice as much as the erasesize for each nor flash chip. Signed-off-by: Quanyang Wang --- V1 ---> V2: 1) use nor->shift instead of 2. 2) put the implementation in

Re: [V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for dual qspi mode

2020-02-02 Thread quanyang.wang
Ping. On 2020/1/6 下午9:33, quanyang.wang wrote: From: Quanyang Wang The zcu102 and zc706 boards support qspi dual mode, and in the dual mode, the erasesize for mtd device should be twice as much as the erasesize for each nor flash chip. Signed-off-by: Quanyang Wang --- V1 ---> V2: 1) use nor-

Re: [V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for dual qspi mode

2020-02-02 Thread quanyang.wang
later linux-yocto kernel versions (v5.5, v5.6, etc). Thanks, Quanyang Regards, Amit *From:* qwang2 *Sent:* Monday, February 3, 2020 7:22 AM *To:* Bruce ; Michal Simek ; Amit Kumar Mahapatra ; Naga Sureshkumar Relli *Cc:* linux-yo...@yoctoproject.org *Subject:* Re: [V2] [linux-yocto][PATCH 1

Re: [V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for dual qspi mode

2020-02-02 Thread Michal Simek
On 03. 02. 20 7:09, qwang2 wrote: > Hi Amit, > > On 2020/2/3 下午1:51, Amit Kumar Mahapatra wrote: >> >> Hi, >> >>   >> >> The patch looks fine to me. >> >>   >> >> But I have few queries, @Michal Simek >> kindly share your thoughts. >> >> I had sent spi-nor framework and

Re: [V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for dual qspi mode

2020-02-02 Thread quanyang.wang
Hi Michal, On 2020/2/3 下午3:12, Michal Simek wrote: On 03. 02. 20 7:09, qwang2 wrote: Hi Amit, On 2020/2/3 下午1:51, Amit Kumar Mahapatra wrote: Hi, The patch looks fine to me. But I have few queries, @Michal Simek kindly share your thoughts. I had sent s

Re: [V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for dual qspi mode

2020-02-05 Thread Bruce Ashfield
In message: [V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for dual qspi mode on 06/01/2020 quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > The zcu102 and zc706 boards support qspi dual mode, and in > the dual mode, the erasesize for mtd device should be twi

Re: [V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for dual qspi mode

2020-02-05 Thread quanyang.wang
Hi Bruce, On 2/6/20 5:42 AM, Bruce Ashfield wrote: In message: [V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for dual qspi mode on 06/01/2020 quanyang.w...@windriver.com wrote: From: Quanyang Wang The zcu102 and zc706 boards support qspi dual mode, and in the dual mode, the

Re: [V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for dual qspi mode

2020-02-06 Thread Bruce Ashfield
On Wed, Feb 5, 2020 at 8:24 PM Quanyang Wang wrote: > > Hi Bruce, > > On 2/6/20 5:42 AM, Bruce Ashfield wrote: > > In message: [V2] [linux-yocto][PATCH 1/1] mtd: spi-nor: fix erasesize for > > dual qspi mode > > on 06/01/2020 quanyang.w...@windriver.com wrote