From 603de3f763ce7cde43fe50c9d9bb75e86a5c868c Mon Sep 17 00:00:00 2001 From: Caveh Jalali Date: Tue, 1 Nov 2022 02:02:56 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69373 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/mainboard/google/trogdor/reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/trogdor') diff --git a/src/mainboard/google/trogdor/reset.c b/src/mainboard/google/trogdor/reset.c index 9b5810f20b..d64c650b99 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); } -- cgit v1.2.3