blob: d64c650b995751e183413a16bc78c215c0f96821 [file] [log] [blame]
T Michael Turneyb97e6f72021-03-18 09:16:44 -07001/* 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. */
8void do_board_reset(void)
9{
Caveh Jalali603de3f2022-11-01 02:02:56 -070010 google_chromeec_reboot(EC_REBOOT_COLD, 0);
T Michael Turneyb97e6f72021-03-18 09:16:44 -070011}