summaryrefslogtreecommitdiffstats
path: root/src/mainboard
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2022-11-01 02:02:56 -0700
committerMartin L Roth <gaumless@gmail.com>2022-11-12 23:01:47 +0000
commit603de3f763ce7cde43fe50c9d9bb75e86a5c868c (patch)
tree06712ce2f6ed07854e78e345391a1490a5e3e6cb /src/mainboard
parent675de7524c495dc42f1b47d04aecc6eeabd5d0a1 (diff)
downloadcoreboot-603de3f763ce7cde43fe50c9d9bb75e86a5c868c.tar.gz
coreboot-603de3f763ce7cde43fe50c9d9bb75e86a5c868c.tar.bz2
coreboot-603de3f763ce7cde43fe50c9d9bb75e86a5c868c.zip
ec/google/chromeec: Deprecate dev_index from google_chromeec_reboot
This removes the dev_index argument from the google_chromeec_reboot API. It's always set to 0, so don't bother passing it. BUG=b:258126464 BRANCH=none TEST=none Change-Id: Iadc3d7c6c1e048e4b1ab8f8cec3cb8eb8db38e6a Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69373 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/herobrine/reset.c2
-rw-r--r--src/mainboard/google/trogdor/reset.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/herobrine/reset.c b/src/mainboard/google/herobrine/reset.c
index 9b5810f20bb1..d64c650b9957 100644
--- a/src/mainboard/google/herobrine/reset.c
+++ b/src/mainboard/google/herobrine/reset.c
@@ -7,5 +7,5 @@
but this works well enough for our purposes. */
void do_board_reset(void)
{
- google_chromeec_reboot(0, EC_REBOOT_COLD, 0);
+ google_chromeec_reboot(EC_REBOOT_COLD, 0);
}
diff --git a/src/mainboard/google/trogdor/reset.c b/src/mainboard/google/trogdor/reset.c
index 9b5810f20bb1..d64c650b9957 100644
--- a/src/mainboard/google/trogdor/reset.c
+++ b/src/mainboard/google/trogdor/reset.c
@@ -7,5 +7,5 @@
but this works well enough for our purposes. */
void do_board_reset(void)
{
- google_chromeec_reboot(0, EC_REBOOT_COLD, 0);
+ google_chromeec_reboot(EC_REBOOT_COLD, 0);
}