diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2011-12-15 10:20:20 -0800 |
---|---|---|
committer | Stefan Reinauer <reinauer@chromium.org> | 2011-12-15 10:36:12 -0800 |
commit | 545be104f4427e1485f3651128e02611398ffb2e (patch) | |
tree | 43e379144540ed21cc595cc95fb5755e5b537c06 /board/chromebook-x86 | |
parent | a7ef6653c272b59df7ebd101da228270e6fd0474 (diff) |
[x86] FMAP: Move RW_VPD section and add RW_SHARED section back
This patch moves the RW VPD section to the same place they live
at H2O and H2C for Stumpy and Lumpy, so we can preserve them more
easily when switching back and forth.
Also, add a RW shared section around the MRC cache and dev cfg,
so they get wiped by a recovery firmware update.
Signed-off-by: Stefan Reinauer <reinauer@google.com>
BUG=chrome-os-partner:7185
TEST=boot tested on Stumpy
Change-Id: I77778d17835b1fe4771370a3523b21c9e5a6b0a7
Reviewed-on: https://gerrit.chromium.org/gerrit/12990
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'board/chromebook-x86')
-rw-r--r-- | board/chromebook-x86/coreboot/flashmap-8mb.dtsi | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/board/chromebook-x86/coreboot/flashmap-8mb.dtsi b/board/chromebook-x86/coreboot/flashmap-8mb.dtsi index 41144db0653..6a9d5867ba2 100644 --- a/board/chromebook-x86/coreboot/flashmap-8mb.dtsi +++ b/board/chromebook-x86/coreboot/flashmap-8mb.dtsi @@ -57,6 +57,15 @@ reg = <0x00180000 0x00680000>; }; + /* ---- Section: Rewritable VPD 4 KB ---- */ + rw-vpd@0 { + label = "rw-vpd"; + /* Alignment: 4k (for updating) */ + reg = <0x00180000 0x00001000>; + type = "wiped"; + wipe-value = [ff]; + }; + /* * This space is currently unused and reserved for future * extensions. cros_bundle_firmware dislikes holes in the @@ -64,25 +73,24 @@ */ rw-unused@0 { label = "rw-unused"; - reg = <0x00180000 0x0006b000>; + reg = <0x00181000 0x0006b000>; type = "wiped"; wipe-value = [ff]; }; + /* ---- Section: Rewritable shared 80 KB---- */ + shared-section@0 { + /* Alignment: 4k (for updating). + * Anything in this range may be updated in recovery. */ + label = "rw-shared"; + reg = <0x001ec000 0x00014000>; + }; + /* ---- Section: Rewritable MRC cache 64 KB ---- */ rw-mrc-cache@0 { label = "rw-mrc-cache"; /* Alignment: 4k (for updating) */ - reg = <0x001eb000 0x00010000>; - type = "wiped"; - wipe-value = [ff]; - }; - - /* ---- Section: Rewritable VPD 4 KB ---- */ - rw-vpd@0 { - label = "rw-vpd"; - /* Alignment: 4k (for updating) */ - reg = <0x001fb000 0x00001000>; + reg = <0x001ec000 0x00010000>; type = "wiped"; wipe-value = [ff]; }; |