summaryrefslogtreecommitdiff
path: root/src/vendorcode/google/chromeos/elog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/google/chromeos/elog.c')
-rw-r--r--src/vendorcode/google/chromeos/elog.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vendorcode/google/chromeos/elog.c b/src/vendorcode/google/chromeos/elog.c
index 4d3fc40537..e60cec83b0 100644
--- a/src/vendorcode/google/chromeos/elog.c
+++ b/src/vendorcode/google/chromeos/elog.c
@@ -10,6 +10,13 @@
static void elog_add_vboot_info(void *unused)
{
+ /*
+ * Skip logging boot info if CSE sync scheduled at payload.
+ * The payload should log boot info after CSE sync.
+ */
+ if (CONFIG(SOC_INTEL_CSE_LITE_SYNC_BY_PAYLOAD))
+ return;
+
/* Skip logging boot info in ACPI resume path */
if (acpi_is_wakeup_s3())
return;