summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
authorUsha P <usha.p@intel.com>2022-07-26 09:36:53 +0530
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-10 04:11:18 +0000
commitcfe06a93f1ee21ef32fe002ccc5a6c8daed27f02 (patch)
tree56c7caa0dc892a9a406864588bbdb3a04e56f3d6 /baseboard
parent3f0813a40320825b1e5c59479ebb0a77e9ed0903 (diff)
downloadchrome-ec-cfe06a93f1ee21ef32fe002ccc5a6c8daed27f02.tar.gz
baseboard/intelrvp: Update LTO configuration
This change includes the following, 1. Reverts commit 28ba9af251f448140f2e6cc224b2566052f326e8 Reason for revert : With LTO enabled, WDT (watchdog timer) timeout is observed on ADL-N RVP board followed by boot failure. Flash memory is still available on ADL_N RVP with LTO disabled. *** 57112 bytes in flash and 21592 bytes in RAM still available on adlrvpm_ite RO **** *** 59348 bytes in flash and 21592 bytes in RAM still available on adlrvpm_ite RW **** 2. Enable LTO config only for required board adlrvpp_mchp1521. There is no flash memory left without LTO config enabled for this board. BUG=None BRANCH=main TEST=build and boot ADL-N RVP to OS without any timeout issues. Change-Id: Ic39da119e0cb5f5abeedfc5cb35ded31f235380d Signed-off-by: Usha P <usha.p@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3787359 Tested-by: Usha P <usha.p@intel.corp-partner.google.com> Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Diffstat (limited to 'baseboard')
-rw-r--r--baseboard/intelrvp/baseboard.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/baseboard/intelrvp/baseboard.h b/baseboard/intelrvp/baseboard.h
index b003c5a785..b374d24b3a 100644
--- a/baseboard/intelrvp/baseboard.h
+++ b/baseboard/intelrvp/baseboard.h
@@ -21,7 +21,10 @@
#error "Define EC chip variant"
#endif
-#define CONFIG_LTO
+/*
+ * TODO: b/241322365 - Watchdog error are observed if LTO is enabled
+ * hence disabled it. Enable LTO once the fix is found.
+ */
/*
* Allow dangerous commands.