Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-04 Thread Marek Vasut
On Monday, May 04, 2015 at 03:39:44 PM, Michal Suchanek wrote: > On 4 May 2015 at 15:35, Marek Vasut wrote: > > On Monday, May 04, 2015 at 03:18:56 PM, Michal Suchanek wrote: > >> On 4 May 2015 at 14:12, Marek Vasut wrote: > >> > On Monday, May 04, 2015 at 01:11:03 PM, Michal Suchanek wrote: > >>

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-04 Thread Michal Suchanek
On 4 May 2015 at 15:35, Marek Vasut wrote: > On Monday, May 04, 2015 at 03:18:56 PM, Michal Suchanek wrote: >> On 4 May 2015 at 14:12, Marek Vasut wrote: >> > On Monday, May 04, 2015 at 01:11:03 PM, Michal Suchanek wrote: >> >> >> >> It mentions both >> >> 32KB Block Erase (BE) (52H) >> >> and >>

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-04 Thread Marek Vasut
On Monday, May 04, 2015 at 03:18:56 PM, Michal Suchanek wrote: > On 4 May 2015 at 14:12, Marek Vasut wrote: > > On Monday, May 04, 2015 at 01:11:03 PM, Michal Suchanek wrote: > >> Hello, > > > > Hi! > > > >> On 1 May 2015 at 16:20, Marek Vasut wrote: > >> > On Friday, May 01, 2015 at 09:05:15 A

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-04 Thread Michal Suchanek
On 4 May 2015 at 14:12, Marek Vasut wrote: > On Monday, May 04, 2015 at 01:11:03 PM, Michal Suchanek wrote: >> Hello, > > Hi! > >> On 1 May 2015 at 16:20, Marek Vasut wrote: >> > On Friday, May 01, 2015 at 09:05:15 AM, Michal Suchanek wrote: >> >> On 1 May 2015 at 01:13, Marek Vasut wrote: >> >>

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-04 Thread Marek Vasut
On Monday, May 04, 2015 at 01:11:03 PM, Michal Suchanek wrote: > Hello, Hi! > On 1 May 2015 at 16:20, Marek Vasut wrote: > > On Friday, May 01, 2015 at 09:05:15 AM, Michal Suchanek wrote: > >> On 1 May 2015 at 01:13, Marek Vasut wrote: > >> I can determine it for this particular chip. However,

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-04 Thread Michal Suchanek
Hello, On 1 May 2015 at 16:20, Marek Vasut wrote: > On Friday, May 01, 2015 at 09:05:15 AM, Michal Suchanek wrote: >> On 1 May 2015 at 01:13, Marek Vasut wrote: >> I can determine it for this particular chip. However, when the vendor >> datasheet says the block is 64/32K it might mean that chips

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-01 Thread Rafał Miłecki
On 30 April 2015 at 23:13, Michal Suchanek wrote: > The sector size of the flash memory is unclear from datasheet or may > possibly vary between chips so add a flag to always use 4k blocks. > > Currently 4k blocks are always used when possible but in the future > somebody might want to do some opt

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-01 Thread Marek Vasut
On Friday, May 01, 2015 at 09:05:15 AM, Michal Suchanek wrote: > On 1 May 2015 at 01:13, Marek Vasut wrote: > > On Thursday, April 30, 2015 at 11:13:12 PM, Michal Suchanek wrote: > >> The sector size of the flash memory is unclear from datasheet or may > >> possibly vary between chips so add a fla

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-01 Thread Jonas Gorski
Hi, On Fri, May 1, 2015 at 9:05 AM, Michal Suchanek wrote: > On 1 May 2015 at 01:13, Marek Vasut wrote: >> On Thursday, April 30, 2015 at 11:13:12 PM, Michal Suchanek wrote: >>> The sector size of the flash memory is unclear from datasheet or may >>> possibly vary between chips so add a flag to

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-01 Thread Michal Suchanek
On 1 May 2015 at 01:13, Marek Vasut wrote: > On Thursday, April 30, 2015 at 11:13:12 PM, Michal Suchanek wrote: >> The sector size of the flash memory is unclear from datasheet or may >> possibly vary between chips so add a flag to always use 4k blocks. >> >> Currently 4k blocks are always used wh

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-04-30 Thread Marek Vasut
On Thursday, April 30, 2015 at 11:13:12 PM, Michal Suchanek wrote: > The sector size of the flash memory is unclear from datasheet or may > possibly vary between chips so add a flag to always use 4k blocks. > > Currently 4k blocks are always used when possible but in the future > somebody might wa