kevin / gru: Increase size of code RAM

Reduce size of UART Tx buffer to 1024 bytes on all npcx platforms and
increase size of code memory by 6K bytes on Kevin.

BUG=chrome-os-partner:52876
BRANCH=None
TEST=`make buildall -j` with subsequent commit.

Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: Ib9e52a4406f84cfc434984f8819d7ef02b70beb4
Reviewed-on: https://chromium-review.googlesource.com/363591
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
Shawn Nematbakhsh
2016-07-26 13:07:13 -07:00
committed by chrome-bot
parent c358ee77a0
commit 93de085455
2 changed files with 4 additions and 4 deletions

View File

@@ -28,10 +28,10 @@
#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands for testing */
/*
* We are code space-constrained on kevin, so take 4K that is normally used
* as data RAM (was 30K, now 26K) and use it for code RAM (was 96K, now 100K)
* We are code space-constrained on kevin, so take 10K that is normally used
* as data RAM (was 30K, now 20K) and use it for code RAM (was 96K, now 106K)
*/
#define RAM_SHIFT_SIZE (4 * 1024)
#define RAM_SHIFT_SIZE (10 * 1024)
#undef CONFIG_RO_SIZE
#define CONFIG_RO_SIZE (NPCX_PROGRAM_MEMORY_SIZE + RAM_SHIFT_SIZE)
#undef CONFIG_RAM_BASE

View File

@@ -17,7 +17,7 @@
/* Use a bigger console output buffer */
#undef CONFIG_UART_TX_BUF_SIZE
#define CONFIG_UART_TX_BUF_SIZE 8192
#define CONFIG_UART_TX_BUF_SIZE 1024
/*
* Interval between HOOK_TICK notifications