summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-08-27 23:23:22 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-08-29 16:09:15 -0700
commit9e901175dad88d48a790147053a359afbf82e12f (patch)
treec610405a520015342934c401e1c04cece8cd8c3e
parent05f0b25f93600338e82109ec1f89fa6b0c59a0d7 (diff)
downloadchrome-ec-9e901175dad88d48a790147053a359afbf82e12f.tar.gz
npcx7: Set booter RAM size to 2KB
This change sets booter RAM size to 2KB as it was orignally configured. This was changed to 1KB in CL:858637, but there was no explanation about the change. Because of that, panic data would be lost on all NPCX7 boards. BUG=b:113274400 BRANCH=nocturne TEST=Verified that panic data is preserved on crash with various options on yorp. Change-Id: I15f578823ed06aed7cb064f3f76bd52d57fc6767 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/1192701 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r--chip/npcx/config_chip-npcx7.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/config_chip-npcx7.h b/chip/npcx/config_chip-npcx7.h
index 65668b7b38..7ca1e2257f 100644
--- a/chip/npcx/config_chip-npcx7.h
+++ b/chip/npcx/config_chip-npcx7.h
@@ -58,7 +58,7 @@
/*****************************************************************************/
/* Memory mapping */
-#define NPCX_BTRAM_SIZE 0x400 /* 1KB data ram used by booter. */
+#define NPCX_BTRAM_SIZE 0x800 /* 2KB data ram used by booter. */
#define CONFIG_RAM_BASE 0x200C0000 /* memory address of data ram */
/* 63KB data RAM */
#define CONFIG_DATA_RAM_SIZE 0x00010000