Rex-BC Chen | db8442b | 2022-07-01 17:37:37 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
Rex-BC Chen | 1250820 | 2022-07-25 19:08:06 +0800 | [diff] [blame] | 3 | #include <gpio.h> |
Rex-BC Chen | db8442b | 2022-07-01 17:37:37 +0800 | [diff] [blame] | 4 | #include <reset.h> |
5 | |||||
Rex-BC Chen | 1250820 | 2022-07-25 19:08:06 +0800 | [diff] [blame] | 6 | #include "gpio.h" |
7 | |||||
Rex-BC Chen | db8442b | 2022-07-01 17:37:37 +0800 | [diff] [blame] | 8 | void do_board_reset(void) |
9 | { | ||||
Rex-BC Chen | 1250820 | 2022-07-25 19:08:06 +0800 | [diff] [blame] | 10 | gpio_output(GPIO_AP_EC_WARM_RST_REQ, 1); |
Rex-BC Chen | db8442b | 2022-07-01 17:37:37 +0800 | [diff] [blame] | 11 | } |