summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2015-11-04 14:29:42 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-11 12:58:37 -0800
commit28cb6015a156fe9239784238912adc526e4fdf11 (patch)
tree1d13522fb798744c90003bfbb54338754bf630af
parent82c405443f0e156017a5cb14fc4a6d1d6b86c8e5 (diff)
downloadchrome-ec-28cb6015a156fe9239784238912adc526e4fdf11.tar.gz
common: port80: Add items to .bss.slow.
BUG=chrome-os-partner:46056 BUG=chrome-os-partner:46063 BRANCH=None TEST=Enable CONFIG_REPLACE_LOADER_WITH_BSS_SLOW on GLaDOS. Build, flash, and verify AP and EC boot. Suspend/Resume and verify that port80 data is in the history. TEST='sysjump rw' suspend/resume nad verify that new port80 writes are present in the history. TEST=make -j buildall tests. CQ-DEPEND=CL:311209 Change-Id: Idebb3247b55465f1fbf35a33dff2f00968b8f4ce Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/311365 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--common/port80.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/port80.c b/common/port80.c
index 0523fe35b1..fb2a8160bc 100644
--- a/common/port80.c
+++ b/common/port80.c
@@ -19,10 +19,10 @@
#define HISTORY_LEN 128
#define PORT80_POLL_PERIOD MSEC
-static uint16_t history[HISTORY_LEN];
-static int writes; /* Number of port 80 writes so far */
+static uint16_t __bss_slow history[HISTORY_LEN];
+static int __bss_slow writes; /* Number of port 80 writes so far */
static int last_boot; /* Last code from previous boot */
-static int scroll;
+static int __bss_slow scroll;
static int print_in_int = 1;
void port_80_write(int data)