repo.or.cz
/
coreboot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/system76/cml-u/dt: Make use of chipset devicetree
[coreboot.git]
/
src
/
soc
/
mediatek
/
common
/
reset.c
blob
9c915418d92ce4e3b615ce5c4d98b6fe44e76cba
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <device/mmio.h>
4
#include <reset.h>
5
#include <soc/wdt.h>
6
7
void
do_board_reset
(
void
)
8
{
9
write32
(&
mtk_wdt
->
wdt_swrst
,
MTK_WDT_SWRST_KEY
);
10
}