]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: spi: Correct BIOS protection logic for ICH9
authorSimon Glass <sjg@chromium.org>
Sat, 4 Jul 2015 00:28:22 +0000 (18:28 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:19 +0000 (18:03 -0600)
commit507879280750fc4af5e5fd0c4387147d286ff6f7
tree418a2224ff8c8b0c300aa110b046a7d9ca74a0ee
parente1e332c8f2e5cac70566998a0ba0ccfdea437f10
dm: spi: Correct BIOS protection logic for ICH9

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Andrew Bradford <andrew.bradford@kodakalaris.com>
drivers/spi/ich.c