]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cfi_flash: precision and underflow problem in tout calculation
authorRenato Andreola <renato.andreola@imagos.it>
Wed, 24 Mar 2010 15:00:47 +0000 (23:00 +0800)
committerStefan Roese <sr@denx.de>
Thu, 25 Mar 2010 08:44:58 +0000 (09:44 +0100)
commitc40c94a3d20a8616264c2dfcda85279185d69aeb
treeb2d1d3a8fe732f0fda392bafcb56653e2e3c9287
parent7027d5622d56ee2292713773044fb6352e431f31
cfi_flash: precision and underflow problem in tout calculation

With old configuration it could happen tout=0 if CONFIG_SYS_HZ<1000.

Signed-off-by: Renato Andreola <renato.andreola@imagos.it>
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c