summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2018-10-06 18:49:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-10-22 08:34:37 +0000
commit96d3378dde3d5fe7334086c38b0c0db0864fc58e (patch)
treed7eaa26f53e74e8b35620f81cf8793b2cf6d9827 /src/soc/mediatek/common
parentc6fe265f68c65053f908248128347f4b860afc4e (diff)
soc/mediatek: Convert to `board_reset()`
Note, MT8183 didn't select HAVE_HARD_RESET before. So it might still need an update. Change-Id: Ic850f2775ada5e6e543ffb92aaa033b9209596f5 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/29051 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/mediatek/common')
-rw-r--r--src/soc/mediatek/common/wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/common/wdt.c b/src/soc/mediatek/common/wdt.c
index c2617531a6..9964c5ab72 100644
--- a/src/soc/mediatek/common/wdt.c
+++ b/src/soc/mediatek/common/wdt.c
@@ -57,7 +57,7 @@ int mtk_wdt_init(void)
return wdt_sta;
}
-void do_hard_reset(void)
+void do_board_reset(void)
{
write32(&mtk_wdt->wdt_swrst, MTK_WDT_SWRST_KEY);
}