Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-21 Thread Ashish Kumar
; Stefan Roese ; Jagan Teki > Subject: Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework > > > On 18-Dec-18 6:02 PM, Jagan Teki wrote: > > On Sat, Dec 15, 2018 at 9:13 PM Vignesh R wrote: > >> > >>>>> 2) For BAR support, lets place it as it

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-18 Thread Vignesh R
On 18-Dec-18 6:02 PM, Jagan Teki wrote: > On Sat, Dec 15, 2018 at 9:13 PM Vignesh R wrote: >> > 2) For BAR support, lets place it as it is and support via spi-nor Problem is, it not desirable to use BAR as default because its not stateless and does not work with all flash parts

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-18 Thread Jagan Teki
On Sat, Dec 15, 2018 at 9:13 PM Vignesh R wrote: > > >>> 2) For BAR support, lets place it as it is and support via spi-nor > >> > >> Problem is, it not desirable to use BAR as default because its not > >> stateless and does not work with all flash parts. OTOH, it seems like 4 > >> byte addressing

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-15 Thread Vignesh R
>>> 2) For BAR support, lets place it as it is and support via spi-nor >> >> Problem is, it not desirable to use BAR as default because its not >> stateless and does not work with all flash parts. OTOH, it seems like 4 >> byte addressing (stateless dedicated opcode or with enter/exit 4 byte >> mode

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-15 Thread Vignesh R
>>> 2) For BAR support, lets place it as it is and support via spi-nor >> >> Problem is, it not desirable to use BAR as default because its not >> stateless and does not work with all flash parts. OTOH, it seems like 4 >> byte addressing (stateless dedicated opcode or with enter/exit 4 byte >> mode

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-15 Thread Jagan Teki
On Sat, Dec 15, 2018 at 7:29 PM Jagan Teki wrote: > > On Fri, Dec 14, 2018 at 10:12 PM Vignesh R wrote: > > > > >> > > >> > 2) For BAR support, lets place it as it is and support via > > > spi-nor > > >> > > > > Problem is, it not desirable to use BAR as default because its > > > not

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-15 Thread Jagan Teki
On Fri, Dec 14, 2018 at 10:12 PM Vignesh R wrote: > > >> > >> > 2) For BAR support, lets place it as it is and support via > > spi-nor > >> > > > Problem is, it not desirable to use BAR as default because its not > > > stateless and does not work with all flash parts. OTOH, it

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-15 Thread Jagan Teki
On Fri, Dec 14, 2018 at 9:23 PM Vignesh R wrote: > > On 14/12/18 3:43 PM, Jagan Teki wrote: > > On Wed, Dec 12, 2018 at 11:02 PM Vignesh R wrote: > >> > >> U-Boot SPI NOR support (sf layer) is quite outdated as it does not > >> support 4 byte addressing opcodes, SFDP table parsing and different t

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-14 Thread Stefan Roese
On 14.12.18 17:27, Vignesh R wrote: On 14-Dec-18 9:44 PM, Simon Goldschmidt wrote: Am Fr., 14. Dez. 2018, 16:59 hat Vignesh R mailto:vigne...@ti.com>> geschrieben: On 14/12/18 3:43 PM, Jagan Teki wrote: > On Wed, Dec 12, 2018 at 11:02 PM Vignesh R mailto:vigne...@ti.com>> wrote:

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-14 Thread Vignesh R
>> >>     > 2) For BAR support, lets place it as it is and support via > spi-nor >> > >     Problem is, it not desirable to use BAR as default because its not > >     stateless and does not work with all flash parts. OTOH, it > seems like 4 > >     byte addressing (stateless dedicat

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-14 Thread Simon Goldschmidt
Am Fr., 14. Dez. 2018, 17:28 hat Vignesh R geschrieben: > > > On 14-Dec-18 9:44 PM, Simon Goldschmidt wrote: > > > > > > Am Fr., 14. Dez. 2018, 16:59 hat Vignesh R > > geschrieben: > > > > On 14/12/18 3:43 PM, Jagan Teki wrote: > > > On Wed, Dec 12, 2018 at 11:02

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-14 Thread Vignesh R
On 14-Dec-18 9:44 PM, Simon Goldschmidt wrote: > > > Am Fr., 14. Dez. 2018, 16:59 hat Vignesh R > geschrieben: > > On 14/12/18 3:43 PM, Jagan Teki wrote: > > On Wed, Dec 12, 2018 at 11:02 PM Vignesh R > wrote: > >> > >> U-Bo

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-14 Thread Simon Goldschmidt
Am Fr., 14. Dez. 2018, 16:59 hat Vignesh R geschrieben: > On 14/12/18 3:43 PM, Jagan Teki wrote: > > On Wed, Dec 12, 2018 at 11:02 PM Vignesh R wrote: > >> > >> U-Boot SPI NOR support (sf layer) is quite outdated as it does not > >> support 4 byte addressing opcodes, SFDP table parsing and diffe

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-14 Thread Vignesh R
On 14/12/18 3:43 PM, Jagan Teki wrote: > On Wed, Dec 12, 2018 at 11:02 PM Vignesh R wrote: >> >> U-Boot SPI NOR support (sf layer) is quite outdated as it does not >> support 4 byte addressing opcodes, SFDP table parsing and different types of >> quad mode enable sequences. Many newer flashes no l

Re: [U-Boot] [PATCH 00/16] SF: Migrate to Linux SPI NOR framework

2018-12-14 Thread Jagan Teki
On Wed, Dec 12, 2018 at 11:02 PM Vignesh R wrote: > > U-Boot SPI NOR support (sf layer) is quite outdated as it does not > support 4 byte addressing opcodes, SFDP table parsing and different types of > quad mode enable sequences. Many newer flashes no longer support BANK > registers used by sf lay