summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
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
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')
-rw-r--r--src/soc/mediatek/common/wdt.c2
-rw-r--r--src/soc/mediatek/mt8173/Kconfig1
2 files changed, 1 insertions, 2 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);
}
diff --git a/src/soc/mediatek/mt8173/Kconfig b/src/soc/mediatek/mt8173/Kconfig
index de9b932339..cf0c8d9df7 100644
--- a/src/soc/mediatek/mt8173/Kconfig
+++ b/src/soc/mediatek/mt8173/Kconfig
@@ -12,7 +12,6 @@ config SOC_MEDIATEK_MT8173
select HAVE_MONOTONIC_TIMER
select GENERIC_UDELAY
select GENERIC_GPIO_LIB
- select HAVE_HARD_RESET
select RTC
if SOC_MEDIATEK_MT8173