summaryrefslogtreecommitdiff
path: root/chip/g/config_chip.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-08-21 13:34:05 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-08-25 20:10:44 +0000
commitbe7fbf380264227457d516d2bcefa79ff72dbfa7 (patch)
tree4c1bf76c2a77b05d4646eddf60fd0c7e3dcbaa44 /chip/g/config_chip.h
parentf3a5046ed7eac6081680b85fa45b7767c421bd19 (diff)
downloadchrome-ec-be7fbf380264227457d516d2bcefa79ff72dbfa7.tar.gz
cr50: allocate RO header for signature
Leave 1024 bytes at the cr50 RO section for the signature required by maskrom bootloader. BRANCH=none BUG=chrome-os-partner:43025 TEST=with this and other changes the latest cr50 image gets signed and booted properly. Change-Id: I64efe242b958bbb4e320cb3bb16c653d210dd662 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/295201 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'chip/g/config_chip.h')
-rw-r--r--chip/g/config_chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/g/config_chip.h b/chip/g/config_chip.h
index b194493404..807c8f82c2 100644
--- a/chip/g/config_chip.h
+++ b/chip/g/config_chip.h
@@ -21,6 +21,7 @@
#define CONFIG_FLASH_BANK_SIZE 0x00000800 /* protect bank size */
#define CONFIG_FLASH_ERASE_SIZE 0x00000400 /* erase bank size */
#define CONFIG_FLASH_WRITE_SIZE 0x00000004 /* minimum write size */
+#define CONFIG_RO_HEAD_ROOM 1024 /* Room for ROM signature. */
/* Describe the flash layout */
#define CONFIG_FLASH_BASE 0x40000