diff options
author | Aseda Aboagye <aaboagye@google.com> | 2015-10-07 10:30:56 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-10-13 16:58:28 -0700 |
commit | 6b498ef31825ae4da01b26644c232726fbcf3a75 (patch) | |
tree | 1d9f3b0613bf70fc3bcb8f2405b1afd847007768 /common/port80.c | |
parent | 5eb9e8f850b99de0f096b8f9626ea79f1845510c (diff) | |
download | chrome-ec-6b498ef31825ae4da01b26644c232726fbcf3a75.tar.gz |
port80: Reduce history buffer to 256 bytes.
This saves us 256 bytes in RAM.
BUG=chrome-os-partner:46059
BUG=chrome-os-partner:46063
BRANCH=None
TEST=make -j buildall tests
TEST=Flash on GLaDOS, plug in charger and verify AP and EC boot.
Change-Id: Ic8d79aeeb6e134ba1424d0b6b3062f4527b68673
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/305360
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'common/port80.c')
-rw-r--r-- | common/port80.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/port80.c b/common/port80.c index 312024a3ad..35723f878a 100644 --- a/common/port80.c +++ b/common/port80.c @@ -16,7 +16,7 @@ #define CPRINTF(format, args...) cprintf(CC_PORT80, format, ## args) -#define HISTORY_LEN 256 +#define HISTORY_LEN 128 #define PORT80_POLL_PERIOD MSEC static uint16_t history[HISTORY_LEN]; |