Re: [RFC] spi-nor: Use different timeout values for write and erase operations

2016-02-06 Thread Andrey Smirnov
On Sat, Feb 6, 2016 at 12:23 PM, Andrey Smirnov wrote: > Some chips take longer than 40 seconds to perform certain > operations. One concrete example would be M25P128 that, according to > its spec, can take up to 250 seconds to perform a chip erase. > > This commit: > > - Adds 'wait_time` par

[RFC] spi-nor: Use different timeout values for write and erase operations

2016-02-06 Thread Andrey Smirnov
Some chips take longer than 40 seconds to perform certain operations. One concrete example would be M25P128 that, according to its spec, can take up to 250 seconds to perform a chip erase. This commit: - Adds 'wait_time` parameter to spi_nor_wait_till_ready() so that each individual c