From 21a35f95b3478c1fbf7d55b883a6dc0d5e43ef89 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 26 May 2016 12:19:46 -0500 Subject: [PATCH] reef: increase BIOS region size The new descriptors utilize a 512KiB device expansion region for the CSE's use. This allows the BIOS region to increase as the expansion region decreased. Adjust the fmap as well as the macro marking the end of the BIOS region. The CSE_SIGN region needed to be moved to reflect the new location of the logical boot partition 2 since the BIOS region increased. The GBB also had to be decreased to accommodate the new LBP2 location. BUG=chrome-os-partner:53689 BRANCH=None TEST=None Change-Id: Ib40335b9c0adfa824cec30768a87e12007735e59 Signed-off-by: Aaron Durbin Reviewed-on: https://chromium-review.googlesource.com/347482 Reviewed-by: Furquan Shaikh --- board/reef/fmap.dts | 16 ++++++++-------- src/board/reef/board.c | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/board/reef/fmap.dts b/board/reef/fmap.dts index 19d33802..ee1018f6 100644 --- a/board/reef/fmap.dts +++ b/board/reef/fmap.dts @@ -80,19 +80,19 @@ type = "blob coreboot"; required; }; - ro-sig2 { - label = "sign_cse"; - reg = <0x00380000 0x00010000>; - read-only; - required; - }; ro-gbb { label = "gbb"; /* GBB offset must be aligned to 4K bytes */ - reg = <0x00390000 0x00070000>; + reg = <0x00380000 0x00040000>; read-only; type = "blob gbb"; }; + ro-sig2 { + label = "sign_cse"; + reg = <0x003c0000 0x00010000>; + read-only; + required; + }; /* ---- Section: Rewritable MRC cache 64KB ---- */ rw-mrc-cache { label = "rw-mrc-cache"; @@ -219,7 +219,7 @@ device-extension { /* CSE RW data */ label = "device-extension"; - reg = <0x00700000 0x00100000>; + reg = <0x0077f000 0x00080000>; type = "wiped"; wipe-value = [ff]; }; diff --git a/src/board/reef/board.c b/src/board/reef/board.c index abb66f80..1a08279d 100644 --- a/src/board/reef/board.c +++ b/src/board/reef/board.c @@ -51,7 +51,7 @@ * used for FLASH_MEM_MAP_SIZE. * */ -#define FLASH_MEM_MAP_SIZE 0x6FF000 +#define FLASH_MEM_MAP_SIZE 0x77f000 #define FLASH_MEM_MAP_BASE ((uintptr_t)(0x100000000ULL - FLASH_MEM_MAP_SIZE)) static int board_setup(void) -- 2.11.0