[flashrom] [PATCH] Avoid transaction errors on ICH SPI

Stefan Reinauer stefan.reinauer at coresystems.de
Fri May 28 17:43:09 CEST 2010


On 5/28/10 5:04 PM, Carl-Daniel Hailfinger wrote:
> On 28.05.2010 16:32, Carl-Daniel Hailfinger wrote:
>   
>> ICH SPI can enforces address restrictions for all accesses which take an
>> address (well, it could if the chipset implementation was not broken).
>> Since exploiting the broken implementation is harder than conforming to
>> the address restrictions wherever possible, conform to the address
>> restrictions instead.
>> This patch will eliminate a lot of transaction errors people were seeing
>> (for probe, anyway).
>>   
>>     
> New patch.
> Added feature:
> Explicitly check for invalid addresses in the ichspi driver and abort
> early with SPI_INVALID_ADDRESS.
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>   

Acked-by: Stefan Reinauer <stepan at coresystems.de>


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the flashrom mailing list