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>
This commit is contained in:
Yidi Lin 2021-01-08 19:50:26 +08:00 committed by Hung-Te Lin
parent f377713fc6
commit cfc26ce278
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}