commit | a758f5100dd6266af29d63302e745b1a3ad89bed | [log] [tgz] |
---|---|---|
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Wed May 14 12:03:06 2008 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Wed May 14 12:03:06 2008 +0000 |
tree | 96e3402473e7630b467b7befe97e0a03ecdc21f4 | |
parent | 4e84dfb7849b1d1de298c4f5212348a3c96b5b2f [diff] |
Check the JEDEC vendor ID for correct parity Flash chips which can be detected by JEDEC probe routines all have vendor IDs with correct parity. Use a parity check as additional hint whether a vendor ID makes sense. Note: Device IDs have no parity requirements whatsoever. Corresponding to flashrom svn r231 and coreboot v2 svn r3308. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Peter Stuge <peter@stuge.se>