summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/cheza/reset.c
blob: 28207cd719bd61b6a14bb4647250633a526ab9e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#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);
}