summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2019-08-14 11:32:21 -0700
committerCommit Bot <commit-bot@chromium.org>2019-11-21 19:30:28 +0000
commitf5b56454cf1c94920259d65de6a4872470efc4d1 (patch)
tree44c15bace6a45ee0287309f717e96bfc381dae4b /chip
parent3bc0a6b273fdd8bdc5ad34e5a0c1ecc88754cfa1 (diff)
downloadchrome-ec-f5b56454cf1c94920259d65de6a4872470efc4d1.tar.gz
cr50: remove flash nonvolatile counter space
Counter implementation has been moved to the AP, no need to keep space for it in the flash. BUG=b:65253310 BRANCH=cr50, cr50-mp TEST=generated image uses 2048 bytes less than before this patch. Change-Id: I8225e9923932ce06ca0a4333c06508cf7d7c70d8 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1753677 Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/g/config_chip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/g/config_chip.h b/chip/g/config_chip.h
index 493cb0eb0f..f7ef934c0d 100644
--- a/chip/g/config_chip.h
+++ b/chip/g/config_chip.h
@@ -102,7 +102,7 @@
* use these two areas for the same thing, it's just more convenient to make
* them the same size.
*/
-#define CFG_TOP_SIZE 0x3800
+#define CFG_TOP_SIZE 0x3000
#define CFG_TOP_A_OFF (CFG_FLASH_HALF - CFG_TOP_SIZE)
#define CFG_TOP_B_OFF (CONFIG_FLASH_SIZE - CFG_TOP_SIZE)