[U-Boot] [PATCH v3 2/8] dm: spi: Correct BIOS protection logic for ICH9

Simon Glass sjg at chromium.org
Wed Jul 8 00:54:43 CEST 2015


On 6 July 2015 at 10:45, Andrew Bradford <andrew at bradfordembedded.com> wrote:
> On 07/03 18:28, Simon Glass wrote:
>> The logic is incorrect and currently has no effect. Fix it so that we can
>> write to SPI flash, since by default it is write-protected.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> Changes in v3:
>> - Correct parameter order with ich_writeb()
>>
>> Changes in v2:
>> - Use ich_read/write() for BIOS protection update
>>
>>  drivers/spi/ich.c | 9 ++++-----
>>  1 file changed, 4 insertions(+), 5 deletions(-)
>
> Tested-by: Andrew Bradford <andrew.bradford at kodakalaris.com>
>
> Thanks! :)
> -Andrew

Applied to u-boot-x86.


More information about the U-Boot mailing list