From e9054c05fcf51de2553c34007f9cdd30290f9570 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Mon, 10 Oct 2011 11:02:17 -0700 Subject: Allocate room for MRC cache in fmap. This adds a 4 kilobyte area in fmap to hold the MRC cache data. This area will be written by u-boot and read by coreboot as required. BUG=chrome-os-partner:5808 TEST=manual . emerge-stumpy chromeos-bootimage . boot stumpy Not much testing other than verifying the continuity of the flash map. Change-Id: I3dc3d24c3e76dbaf410e3e2c1b0917f7c8b52575 Signed-off-by: Vadim Bendebury Reviewed-on: http://gerrit.chromium.org/gerrit/9793 Reviewed-by: Duncan Laurie Reviewed-by: Stefan Reinauer Reviewed-by: Simon Glass --- board/chromebook-x86/coreboot/flashmap-8mb.dtsi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'board/chromebook-x86') diff --git a/board/chromebook-x86/coreboot/flashmap-8mb.dtsi b/board/chromebook-x86/coreboot/flashmap-8mb.dtsi index 2822d33eb0f..faf23d53832 100644 --- a/board/chromebook-x86/coreboot/flashmap-8mb.dtsi +++ b/board/chromebook-x86/coreboot/flashmap-8mb.dtsi @@ -64,12 +64,21 @@ */ coreboot-extra@0 { label = "coreboot-extra"; - reg = <0x00200000 0x00200000>; + reg = <0x00200000 0x001ff000>; type = "wiped"; wipe-value = [ff]; }; - /* ---- Section: Rewritable VPD 32 KB ---- */ + /* ---- Section: Rewritable MRC cache 4KB ---- */ + rw-mrc-cache@0 { + label = "rw-mrc-cache"; + /* Alignment: 4k (for updating) */ + reg = <0x003ff000 0x00001000>; + type = "wiped"; + wipe-value = [ff]; + }; + + /* ---- Section: Rewritable VPD 4 KB ---- */ rw-vpd@0 { label = "rw-vpd"; /* Alignment: 4k (for updating) */ -- cgit v1.2.3