On 12.02.2010 19:49, Sean Nelson wrote:
> On 2/12/10 7:39 AM, Carl-Daniel Hailfinger wrote:
>> SPI RES is the most unreliable way to identify chips because it only
>> returns a 1-byte ID for most chips. For every given ID out there,
>> probably a dozen incompatible flash chips match it.
>> We already refuse to identify a chip with RES if that chip responds to
>> RDID (3 bytes, good match), and with this patch we additionally refuse
>> RES if the chip responds to REMS (2 bytes, still a good match). This
>> increases matching accuracy a lot.
>>
>> Besides that, the RDID/REMS response checking has been cleaned up for
>> better readability.
>>
>> Signed-off-by: Carl-Daniel Hailfinger<[email protected]>
> Acked-by: Sean Nelson <[email protected]>

Thanks, committed in r899.

Regards,
Carl-Daniel

-- 
Developer quote of the year:
"We are juggling too many chainsaws and flaming arrows and tigers."


_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to