summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/reset.c
blob: 9c915418d92ce4e3b615ce5c4d98b6fe44e76cba (plain)
1
2
3
4
5
6
7
8
9
10
/* 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);
}