From 6b498ef31825ae4da01b26644c232726fbcf3a75 Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Wed, 7 Oct 2015 10:30:56 -0700 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/305360 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Alec Berg Reviewed-by: Shawn N --- common/port80.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];