summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-05-21 17:55:44 -0700
committerCommit Bot <commit-bot@chromium.org>2021-05-27 22:33:41 +0000
commit31b464016da44992689b0fa1160b2703f0d946d0 (patch)
tree2e4d722047e8dfa910f5d9450f56e804f9f15130
parentc2655615252d9f7b5f71f1c33624c7f2bf9159af (diff)
downloadchrome-ec-31b464016da44992689b0fa1160b2703f0d946d0.tar.gz
brya: Limit IMVP9 tuning to board ID 1
We introduced tuning values for the IMVP9 PMIC for board ID 1 to improve stability. More recent boards should have the desired values pre-programmed, so we do not need to apply tuning parameters. BRANCH=none BUG=b:188945301,b:185275955 TEST=boots on board ID 1 Change-Id: I9b6967a43f6d5c8b37bc3a7344347c278bdf698a Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2922002 Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
-rw-r--r--board/brya/tune_mp2964.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/brya/tune_mp2964.c b/board/brya/tune_mp2964.c
index 80075acde7..c95f06d7fd 100644
--- a/board/brya/tune_mp2964.c
+++ b/board/brya/tune_mp2964.c
@@ -21,6 +21,9 @@ static void mp2964_on_startup(void)
static int chip_updated;
int status;
+ if (get_board_id() != 1)
+ return;
+
if (chip_updated)
return;