T Michael Turney | b97e6f7 | 2021-03-18 09:16:44 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
3 | #include <ec/google/chromeec/ec.h> | ||||
4 | #include <reset.h> | ||||
5 | |||||
6 | /* Can't do a "real" reset before the PMIC is initialized in QcLib (romstage), | ||||
7 | but this works well enough for our purposes. */ | ||||
8 | void do_board_reset(void) | ||||
9 | { | ||||
Caveh Jalali | 603de3f | 2022-11-01 02:02:56 -0700 | [diff] [blame] | 10 | google_chromeec_reboot(EC_REBOOT_COLD, 0); |
T Michael Turney | b97e6f7 | 2021-03-18 09:16:44 -0700 | [diff] [blame] | 11 | } |