summaryrefslogtreecommitdiff
path: root/src/mainboard/google/herobrine/reset.c
blob: 9b5810f20bb198f8772f16dd7d2255613a492180 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */

#include <ec/google/chromeec/ec.h>
#include <reset.h>

/* Can't do a "real" reset before the PMIC is initialized in QcLib (romstage),
   but this works well enough for our purposes. */
void do_board_reset(void)
{
	google_chromeec_reboot(0, EC_REBOOT_COLD, 0);
}