Fix PMC Pm25LV512 and Pm25LV010 probing

Apparently PMC did not understand the purpose of the JEDEC
continuation code. These chips reply to RES (the only supported ID
command) with the prefix-less vendor ID, a device ID, eventually
followed by the continuation byte for the vendor ID.

This fix uses only the first two bytes instead of appending the
continuation code to the device ID. The problem was reported by The
Raven who also tested the fix on a Pm25LV010 (with an imprint of

Corresponding to flashrom svn r1806.

Signed-off-by: Stefan Tauner <>
Acked-by: Stefan Tauner <>
2 files changed