Add a reset to probe_jedec before we read the chip's IDs

Previous probes might have had too short delays for entering ID mode,
so the chip may still be in the process of entering the ID mode. Due to
that, an additional delay before the reset makes sense.
Add FEATURE_RESET_MASK to deal cleanly with those feature bits.

Maciej Pijanka tested the patch and it fixes probing for him with some
old Atmel chips.

Corresponding to flashrom svn r1216.

Signed-off-by: Sean Nelson <>
Signed-off-by: Carl-Daniel Hailfinger <>
Acked-by: Anders Juel Jensen <>
Tested-by: Maciej Pijanka <>
Acked-by: Sean Nelson <> 
2 files changed