mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
common: pd_log: Add PD log 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 that AP and EC boot. Plug in a charger on both ports and use ectool to view the PD log. TEST=make -j buildall tests CQ-DEPEND=CL:311209 Change-Id: I54ae617e03c645d24319d83da6cc8b7d1d6528a3 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/311413 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
da87d12ec8
commit
2d26ba2d24
@@ -15,7 +15,7 @@
|
||||
/* Event log FIFO */
|
||||
#define UNIT_SIZE sizeof(struct ec_response_pd_log)
|
||||
#define LOG_SIZE (CONFIG_USB_PD_LOG_SIZE/UNIT_SIZE)
|
||||
static struct ec_response_pd_log log_events[LOG_SIZE];
|
||||
static struct ec_response_pd_log __bss_slow log_events[LOG_SIZE];
|
||||
BUILD_ASSERT(POWER_OF_TWO(LOG_SIZE));
|
||||
/*
|
||||
* The FIFO pointers are defined as following :
|
||||
|
||||
Reference in New Issue
Block a user