summaryrefslogtreecommitdiffstats
path: root/common/bootm.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2016-02-06 20:04:22 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-08 08:07:08 +0100
commitb09ee0358cd41b833da9788acf26efdfb6abe40d (patch)
treed08d964622630ca55b02f88751b40ee85deddb27 /common/bootm.c
parenta6f73ec52f5c794938aa14b1264375228890f12c (diff)
downloadbarebox-b09ee0358cd41b833da9788acf26efdfb6abe40d.tar.gz
barebox-b09ee0358cd41b833da9788acf26efdfb6abe40d.tar.xz
spi-nor: Port erase timeout fix from Linux
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@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bootm.c')
0 files changed, 0 insertions, 0 deletions