Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
9cbbba68b650933cf552f9e1b969f08e463c641f
/
.
/
src
/
soc
/
mediatek
/
common
/
reset.c
blob: 9c915418d92ce4e3b615ce5c4d98b6fe44e76cba [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-only */
#include
<device/mmio.h>
#include
<reset.h>
#include
<soc/wdt.h>
void
do_board_reset
(
void
)
{
write32
(&
mtk_wdt
->
wdt_swrst
,
MTK_WDT_SWRST_KEY
);
}