]> git.sur5r.net Git - u-boot/commitdiff
x86: cougarcanyon2: Update dts for SPI lock down
authorBin Meng <bmeng.cn@gmail.com>
Mon, 4 Jun 2018 02:04:16 +0000 (19:04 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 13 Jun 2018 01:50:57 +0000 (09:50 +0800)
It turns out that like Braswell, Intel FSP for IvyBridge requires
SPI controller settings to be locked down, as the U-Boot ICH SPI
driver fails with the following message on Cougar Canyon 2 board:

  "ICH SPI: Opcode 9f not found"

Update the SPI node property to indicate this fact.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/cougarcanyon2.dts

index ea836eec95d3f07321561f4cf760592ecd312183..8c71e98dfd46af34f43708f32073599ad9a7907a 100644 (file)
@@ -70,6 +70,8 @@
                                #address-cells = <1>;
                                #size-cells = <0>;
                                compatible = "intel,ich9-spi";
+                               intel,spi-lock-down;
+
                                spi-flash@0 {
                                        reg = <0>;
                                        compatible = "winbond,w25q64bv", "spi-flash";