cfi: calculate correct timeouts
commitfe4fe623d540993d9769615a8631c732b5f3c9ea
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Wed, 8 Dec 2010 17:04:23 +0000 (8 17:04 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 10 Dec 2010 13:36:08 +0000 (10 13:36 +0000)
treea829e621043d5aa333b267ac4671bdf53caaa99e
parentb4ee2864e45d8de2cabe35fc2de95a34c61282a4
cfi: calculate correct timeouts

The existing code used incorrect timeout values for the various cfi
operations. We now calculate the timeouts and convert to
msecs if necessary.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/flash/nor/cfi.c
src/flash/nor/cfi.h