diff options
author | Yidi Lin <yidi.lin@mediatek.com> | 2021-01-08 19:50:26 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2021-01-15 06:59:23 +0000 |
commit | cfc26ce278cb8a6ee8fd363a38eaf91e54e1f2bc (patch) | |
tree | fb7a25152322e89a2b247837d9bc94e909417ba3 /src | |
parent | f377713fc6b5434c6912b419bed5406ef13be782 (diff) |
mb/google/asurada: Implement HW reset function
TEST=call do_board_reset() manually.
Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
Change-Id: I355f71e731f1045cd80a133cd31cf4d55f14d91f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49237
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/asurada/reset.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/asurada/reset.c b/src/mainboard/google/asurada/reset.c index 3a97ee5393..91ee7c074d 100644 --- a/src/mainboard/google/asurada/reset.c +++ b/src/mainboard/google/asurada/reset.c @@ -1,7 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include <gpio.h> #include <reset.h> +#include "gpio.h" + void do_board_reset(void) { + gpio_output(GPIO_RESET, 1); } |