x86: galileo: Enable mrc cache
authorBin Meng <bmeng.cn@gmail.com>
Mon, 12 Oct 2015 08:30:43 +0000 (01:30 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:27 +0000 (07:46 -0600)
Now that we have added MRC cache on quark support codes,
enable it on Intel Galileo board.

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

index a4e1676..b49b1f5 100644 (file)
                        reg = <0>;
                        compatible = "winbond,w25q64", "spi-flash";
                        memory-map = <0xff800000 0x00800000>;
+                       rw-mrc-cache {
+                               label = "rw-mrc-cache";
+                               reg = <0x00010000 0x00010000>;
+                       };
                };
        };
 
index d1808a5..1e1ce95 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_X86=y
 CONFIG_VENDOR_INTEL=y
 CONFIG_DEFAULT_DEVICE_TREE="galileo"
 CONFIG_TARGET_GALILEO=y
+CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_GENERATE_PIRQ_TABLE=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set