[PATCH] spi-nor: Port erase timeout fix from Linux
Sascha Hauer
s.hauer at pengutronix.de
Sun Feb 7 23:07:32 PST 2016
On Sat, Feb 06, 2016 at 08:04:22PM -0800, Andrey Smirnov wrote:
> Large SPI-NOR (>2MB) chips reuire more than 40 seconds to perform
> all-chip erase. This patch adapts
> 09b6a377687b885565339e60bc62566433a0406f from Linux kernel, which
> implements simple heuristics in order to calculate appropriate wait
> time (see orignal commit's description for more details of the fix)
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
> ---
> drivers/mtd/spi-nor/spi-nor.c | 41 ++++++++++++++++++++++++++++++++++++-----
> 1 file changed, 36 insertions(+), 5 deletions(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list