From cfc26ce278cb8a6ee8fd363a38eaf91e54e1f2bc Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Fri, 8 Jan 2021 19:50:26 +0800 Subject: mb/google/asurada: Implement HW reset function TEST=call do_board_reset() manually. Signed-off-by: Yidi Lin Change-Id: I355f71e731f1045cd80a133cd31cf4d55f14d91f Reviewed-on: https://review.coreboot.org/c/coreboot/+/49237 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/mainboard/google/asurada/reset.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/google/asurada') 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 #include +#include "gpio.h" + void do_board_reset(void) { + gpio_output(GPIO_RESET, 1); } -- cgit v1.2.3