From 221ec5438a97020b6fe641e10cee85ab7e696e1f Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Mon, 9 Dec 2013 10:33:46 -0800 Subject: 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 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 Tested-by: Vincent Palatin Commit-Queue: Vincent Palatin --- chip/it83xx/config_chip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1