summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2021-11-12 12:00:38 +1100
committerCommit Bot <commit-bot@chromium.org>2021-11-12 05:45:49 +0000
commitfc4fb61e515bcdda1b4dbad7deafc9a01072b183 (patch)
tree9ef0d268592777439f04a29f765b5f8616e94213 /chip
parent1e7adae17c880bc287b15622a0c9b8f103dad15b (diff)
downloadchrome-ec-fc4fb61e515bcdda1b4dbad7deafc9a01072b183.tar.gz
ite: Fix SRAM size for ITE81302-512
The ITE81302-512 has 60Kb of SRAM. BUG=b:204231736 TEST=make -j buildall BRANCH=none Change-Id: I64f3a41c6df1738cdbb409c8098f485e8e224bb7 Signed-off-by: Andrew McRae <amcrae@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3276027 Reviewed-by: Dino Li <Dino.Li@ite.com.tw> Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/it83xx/config_chip_it8xxx2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chip/it83xx/config_chip_it8xxx2.h b/chip/it83xx/config_chip_it8xxx2.h
index 9f6c50d3fb..d06aa8d204 100644
--- a/chip/it83xx/config_chip_it8xxx2.h
+++ b/chip/it83xx/config_chip_it8xxx2.h
@@ -86,17 +86,17 @@
|| defined(CHIP_VARIANT_IT81202BX_1024)
#if defined(CHIP_VARIANT_IT81302BX_512)
-#define CONFIG_FLASH_SIZE_BYTES 0x00080000
+#define CONFIG_FLASH_SIZE_BYTES 0x00080000
#define CONFIG_RAM_BASE 0x80080000
-#define CONFIG_RAM_SIZE 0x00010000
#else
-#define CONFIG_FLASH_SIZE_BYTES 0x00100000
+#define CONFIG_FLASH_SIZE_BYTES 0x00100000
#define CONFIG_RAM_BASE 0x80100000
-#define CONFIG_RAM_SIZE 0x0000f000
/* Set ILM (instruction local memory) size up to 1M bytes */
#define IT83XX_CHIP_FLASH_SIZE_1MB
#endif
+#define CONFIG_RAM_SIZE 0x0000f000
+
/* Embedded flash is KGD */
#define IT83XX_CHIP_FLASH_IS_KGD
/* chip id is 3 bytes */