commit | c40c94a3d20a8616264c2dfcda85279185d69aeb | [log] [tgz] |
---|---|---|
author | Renato Andreola <renato.andreola@imagos.it> | Wed Mar 24 23:00:47 2010 +0800 |
committer | Stefan Roese <sr@denx.de> | Thu Mar 25 09:44:58 2010 +0100 |
tree | b2d1d3a8fe732f0fda392bafcb56653e2e3c9287 | |
parent | 7027d5622d56ee2292713773044fb6352e431f31 [diff] |
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>