blob: d64c650b995751e183413a16bc78c215c0f96821 (
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(EC_REBOOT_COLD, 0);
}
|