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:
parent
f377713fc6
commit
cfc26ce278
|
@ -1,7 +1,11 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
|
#include <gpio.h>
|
||||||
#include <reset.h>
|
#include <reset.h>
|
||||||
|
|
||||||
|
#include "gpio.h"
|
||||||
|
|
||||||
void do_board_reset(void)
|
void do_board_reset(void)
|
||||||
{
|
{
|
||||||
|
gpio_output(GPIO_RESET, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue