Rex-BC Chen | 74a0629 | 2021-09-09 18:43:22 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
Rex-BC Chen | 9f01bbf | 2021-11-18 15:20:42 +0800 | [diff] [blame] | 3 | #include <gpio.h> |
Rex-BC Chen | 74a0629 | 2021-09-09 18:43:22 +0800 | [diff] [blame] | 4 | #include <reset.h> |
5 | |||||
Rex-BC Chen | 9f01bbf | 2021-11-18 15:20:42 +0800 | [diff] [blame] | 6 | #include "gpio.h" |
7 | |||||
Rex-BC Chen | 74a0629 | 2021-09-09 18:43:22 +0800 | [diff] [blame] | 8 | void do_board_reset(void) |
9 | { | ||||
Rex-BC Chen | 9f01bbf | 2021-11-18 15:20:42 +0800 | [diff] [blame] | 10 | gpio_output(GPIO_RESET, 1); |
Rex-BC Chen | 74a0629 | 2021-09-09 18:43:22 +0800 | [diff] [blame] | 11 | } |