| 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(EC_REBOOT_COLD, 0); |
| 11 | } |