Fix ATMEL 29C020 detection with flashrom. The JEDEC probe routine had
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Tue, 13 Nov 2007 14:56:54 +0000 (14:56 +0000)
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Tue, 13 Nov 2007 14:56:54 +0000 (14:56 +0000)
commit6d6146c377caee1c0dd888b9b08faeb3c8a3c43f
tree09c591aa71e8ef0c9369b7bd0431eafaf1f692cb
parentd591baa22f52661de836bc4a04ea6c010b0d83de
Fix ATMEL 29C020 detection with flashrom. The JEDEC probe routine had
a delay of 10 us after entering ID mode and this was insufficient for
the 29C020. The data sheet claims we have to wait 10 ms, but tests have
shown that 20 us suffice. Allow for variations in chip delays with a
factor of 2 safety margin.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2962 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
util/flashrom/jedec.c