2020-04-05 13:22:58 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2019-10-10 21:19:51 +02:00
|
|
|
|
|
|
|
#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);
|
|
|
|
}
|