coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
reset.c
Go to the documentation of this file.
1
/* 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. */
8
void
do_board_reset
(
void
)
9
{
10
google_chromeec_reboot
(0,
EC_REBOOT_COLD
, 0);
11
}
google_chromeec_reboot
int google_chromeec_reboot(int dev_idx, enum ec_reboot_cmd type, uint8_t flags)
Definition:
ec.c:794
ec.h
EC_REBOOT_COLD
@ EC_REBOOT_COLD
Definition:
ec_commands.h:5372
do_board_reset
void do_board_reset(void)
Definition:
reset.c:8
src
mainboard
google
trogdor
reset.c
Generated by
1.9.1