summaryrefslogtreecommitdiffstats
path: root/arch/mips/mach-loongson/loongson1_reset.c
diff options
context:
space:
mode:
authorDu Huanpeng <u74147@gmail.com>2019-11-04 15:57:33 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-06 11:26:31 +0100
commitc92e6480f3d2b986cc026f0efb97db4bb019aeda (patch)
tree9e55b10be551a1cbc72f5db0d6d8ae8f1e65bf1a /arch/mips/mach-loongson/loongson1_reset.c
parent1e5aef61fc6a4442feaf4416ae7b2b726a66bee6 (diff)
downloadbarebox-c92e6480f3d2b986cc026f0efb97db4bb019aeda.tar.gz
MIPS: loongsonl: pull headers from linux kernel
Signed-off-by: Du Huanpeng <u74147@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/mach-loongson/loongson1_reset.c')
-rw-r--r--arch/mips/mach-loongson/loongson1_reset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/mach-loongson/loongson1_reset.c b/arch/mips/mach-loongson/loongson1_reset.c
index 3763a10..a6c0590 100644
--- a/arch/mips/mach-loongson/loongson1_reset.c
+++ b/arch/mips/mach-loongson/loongson1_reset.c
@@ -11,9 +11,9 @@
static void __noreturn longhorn_restart_soc(struct restart_handler *rst)
{
- __raw_writel(0x1, LS1X_WDT_EN);
- __raw_writel(0x1, LS1X_WDT_SET);
- __raw_writel(0x1, LS1X_WDT_TIMER);
+ __raw_writel(0x1, WDT_EN);
+ __raw_writel(0x1, WDT_SET);
+ __raw_writel(0x1, WDT_TIMER);
hang();
}