summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2012-03-16 09:39:54 -0700
committerGerrit <chrome-bot@google.com>2012-03-16 11:24:50 -0700
commitbb60ac4d2b59a3335b8f8bc145d7494d28ad13e2 (patch)
treefacd3ef4aa362c400426ec5785b1ac325ba65075
parent8230258498a8448aa5b210c1356174f99b1352b8 (diff)
Reduce RW BIOS data sections to 512K from 976K
This saves 500ms in the RW BIOS path and still leaves 130K overhead from the current U-boot size (372K) which should be more than enough for any future updates on stumpy/lumpy. This should be re-visited if/when vboot is smart enough to just read+validate the actual binary within the section. BUG=chrome-os-partner:8518 TEST=boot lumpy/stumpy through RW BIOS path and gather timestamps to see 500ms improvement. Change-Id: Ia714b4b95245f02f6e781247f820ca915bb403f5 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/18372 Reviewed-by: Stefan Reinauer <reinauer@google.com>
-rw-r--r--board/chromebook-x86/coreboot/flashmap-8mb.dtsi20
1 files changed, 16 insertions, 4 deletions
diff --git a/board/chromebook-x86/coreboot/flashmap-8mb.dtsi b/board/chromebook-x86/coreboot/flashmap-8mb.dtsi
index 8e550b4a9c..70a655302b 100644
--- a/board/chromebook-x86/coreboot/flashmap-8mb.dtsi
+++ b/board/chromebook-x86/coreboot/flashmap-8mb.dtsi
@@ -141,16 +141,22 @@
rw-a-boot@0 {
/* Alignment: no requirement (yet). */
label = "fw-main-a";
- reg = <0x00210000 0x000effc0>;
+ reg = <0x00210000 0x0007ffc0>;
type = "blob boot";
};
rw-a-firmware-id@0 {
/* Alignment: no requirement. */
label = "rw-fwid-a";
- reg = <0x002fffc0 0x00000040>;
+ reg = <0x0028ffc0 0x00000040>;
read-only;
type = "blobstring fwid";
};
+ rw-a-unused@0 {
+ label = "rw-unused";
+ reg = <0x00290000 0x00070000>;
+ type = "wiped";
+ wipe-value = [ff];
+ };
/* ---- Section: Rewritable slot B ---- */
rw-b@0 {
@@ -175,16 +181,22 @@
rw-b-boot@0 {
label = "fw-main-b";
/* Alignment: no requirement (yet). */
- reg = <0x00310000 0x000effc0>;
+ reg = <0x00310000 0x0007ffc0>;
type = "blob boot";
};
rw-b-firmware-id@0 {
label = "rw-fwid-b";
/* Alignment: no requirement. */
- reg = <0x003fffc0 0x00000040>;
+ reg = <0x0038ffc0 0x00000040>;
read-only;
type = "blobstring fwid";
};
+ rw-b-unused@0 {
+ label = "rw-unused";
+ reg = <0x00390000 0x00070000>;
+ type = "wiped";
+ wipe-value = [ff];
+ };
/*
* This space is currently unused and reserved for future