summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajesh Kumar <rajesh3.kumar@intel.com>2022-08-15 15:37:35 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-12-13 04:41:21 +0000
commitd49c205fd2e300ba2a926a714e9a48773c4d2370 (patch)
tree0974e48b67924290e4b417e0dc4f694dd3030e14
parent8b0598c4ae25a4d76cf5d6466f34b403a2120b0b (diff)
downloadchrome-ec-d49c205fd2e300ba2a926a714e9a48773c4d2370.tar.gz
adlrvp: Enable system boot time logging
This CL enables system boot time logging support for adlrvp. BUG=b:249163956 BRANCH=none TEST='ectool boottime' AP console command is used to fetch data 'reboot' on AP console to trigger warm reboot 'apshutdown' on EC console to trigger cold reboot Signed-off-by: Rajesh Kumar <rajesh3.kumar@intel.com> Change-Id: I7b975aafe7e1846e132827e061551af11e7d1101 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3832585 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
-rw-r--r--baseboard/intelrvp/adlrvp.h3
-rw-r--r--zephyr/program/intelrvp/prj.conf2
2 files changed, 5 insertions, 0 deletions
diff --git a/baseboard/intelrvp/adlrvp.h b/baseboard/intelrvp/adlrvp.h
index 3e062db223..2159adf92c 100644
--- a/baseboard/intelrvp/adlrvp.h
+++ b/baseboard/intelrvp/adlrvp.h
@@ -166,6 +166,9 @@
/* Config to indicate battery type doesn't auto detect */
#define CONFIG_BATTERY_TYPE_NO_AUTO_DETECT
+/* Enable system boot time logging */
+#define CONFIG_SYSTEM_BOOT_TIME_LOGGING
+
#ifndef __ASSEMBLER__
enum adlrvp_charge_ports {
diff --git a/zephyr/program/intelrvp/prj.conf b/zephyr/program/intelrvp/prj.conf
index 9ca19c5071..fdd9722f2f 100644
--- a/zephyr/program/intelrvp/prj.conf
+++ b/zephyr/program/intelrvp/prj.conf
@@ -58,6 +58,8 @@ CONFIG_SHELL_TAB=y
CONFIG_SHELL_TAB_AUTOCOMPLETION=y
CONFIG_KERNEL_SHELL=y
+CONFIG_SYSTEM_BOOT_TIME_LOGGING=y
+
# TODO
# Below conf are disabled to compile successfully
# These will be enabled in upcoming CLs