]> git.sur5r.net Git - u-boot/commitdiff
x86: Enable mrc cache for bayleybay and minnowmax
authorBin Meng <bmeng.cn@gmail.com>
Mon, 12 Oct 2015 04:37:44 +0000 (21:37 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:27 +0000 (07:46 -0600)
Now that we have added MRC cache for Intel FSP and BayTrail codes,
enable it for all BayTrail boards (Bayley Bay and Minnow Max).

Note it turns out that FSP for Intel Atom E6xx does not produce
the HOB for NV storage, so we don't have such functionality on
Intel Crown Bay board.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/bayleybay.dts
arch/x86/dts/minnowmax.dts
configs/bayleybay_defconfig
configs/minnowmax_defconfig
doc/README.x86

index d646987ff885a5697cf697a25bbf042c40632d49..52d0999f19f299a81b8705a0f6e32651159a6e08 100644 (file)
                #size-cells = <0>;
                compatible = "intel,ich-spi";
                spi-flash@0 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        reg = <0>;
                        compatible = "winbond,w25q64dw", "spi-flash";
                        memory-map = <0xff800000 0x00800000>;
+                       rw-mrc-cache {
+                               label = "rw-mrc-cache";
+                               reg = <0x006e0000 0x00010000>;
+                       };
                };
        };
 
index e917f0f55b0e0b6aa111396d40e930890a4c5296..b03f9878dda605ad2e294faa1b6dd279a031132f 100644 (file)
                #size-cells = <0>;
                compatible = "intel,ich-spi";
                spi-flash@0 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        reg = <0>;
                        compatible = "stmicro,n25q064a", "spi-flash";
                        memory-map = <0xff800000 0x00800000>;
+                       rw-mrc-cache {
+                               label = "rw-mrc-cache";
+                               reg = <0x006f0000 0x00010000>;
+                       };
                };
        };
 
index 56316eeda168db3443d9fd0148f624f027032c10..fc40da819ca3f6b26021896c8a89bafc9cf92612 100644 (file)
@@ -3,6 +3,7 @@ CONFIG_VENDOR_INTEL=y
 CONFIG_DEFAULT_DEVICE_TREE="bayleybay"
 CONFIG_TARGET_BAYLEYBAY=y
 CONFIG_HAVE_INTEL_ME=y
+CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
 CONFIG_VGA_BIOS_ADDR=0xfffa0000
index 0d5bd4ed07618bc3630c50333265df72173630d8..8f99f0eadf6668f7fb32e5dfffe90c8d8f1516c0 100644 (file)
@@ -3,6 +3,7 @@ CONFIG_VENDOR_INTEL=y
 CONFIG_DEFAULT_DEVICE_TREE="minnowmax"
 CONFIG_TARGET_MINNOWMAX=y
 CONFIG_HAVE_INTEL_ME=y
+CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
 CONFIG_GENERATE_PIRQ_TABLE=y
index a9d0e0fbfef3c86cb9e3ce53921184276f09d04b..1271e5edea3a427debce1ff202eecb6aa7cbc4f2 100644 (file)
@@ -190,6 +190,7 @@ Offset   Description         Controlling config
 000000   descriptor.bin      Hard-coded to 0 in ifdtool
 001000   me.bin              Set by the descriptor
 500000   <spare>
+6f0000   MRC cache           CONFIG_ENABLE_MRC_CACHE
 700000   u-boot-dtb.bin      CONFIG_SYS_TEXT_BASE
 790000   vga.bin             CONFIG_VGA_BIOS_ADDR
 7c0000   fsp.bin             CONFIG_FSP_ADDR