summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2013-12-09 10:33:46 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-01-08 14:18:19 +0000
commit221ec5438a97020b6fe641e10cee85ab7e696e1f (patch)
treebd9b81992bb07522c84bdd474fec7ec27db044c6
parente44cddc7d22b06b740af20a4361f1db0e2d04536 (diff)
downloadchrome-ec-221ec5438a97020b6fe641e10cee85ab7e696e1f.tar.gz
ite: WORKAROUND reduce data SRAM to 8kB
On the IT8380, we should be able to map 16kB of SRAM to use as data memory (aka DLM), but sometimes the 2 top 4k pages seem to be mapped differently (ie not to SRAM, they do not retain writes ...). As we have no documentation on that topic, for now use 8kB of DLM for now. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=chrome-os-partner:23575 TEST=build and run IT8380 dev board. Change-Id: I4ed452f27e9c457e7ac717b82580781ca506b0d8 Reviewed-on: https://chromium-review.googlesource.com/179322 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--chip/it83xx/config_chip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/it83xx/config_chip.h b/chip/it83xx/config_chip.h
index 2942dc3079..6a564cd412 100644
--- a/chip/it83xx/config_chip.h
+++ b/chip/it83xx/config_chip.h
@@ -25,7 +25,7 @@
/* Memory mapping */
#define CONFIG_RAM_BASE 0x00080000
-#define CONFIG_RAM_SIZE 0x00004000
+#define CONFIG_RAM_SIZE 0x00002000
/* System stack size */
#define CONFIG_STACK_SIZE 1024