diff options
author | Du Huanpeng <u74147@gmail.com> | 2019-11-04 15:57:33 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-11-06 11:26:31 +0100 |
commit | c92e6480f3d2b986cc026f0efb97db4bb019aeda (patch) | |
tree | 9e55b10be551a1cbc72f5db0d6d8ae8f1e65bf1a /arch/mips/mach-loongson/loongson1_reset.c | |
parent | 1e5aef61fc6a4442feaf4416ae7b2b726a66bee6 (diff) | |
download | barebox-c92e6480f3d2b986cc026f0efb97db4bb019aeda.tar.gz barebox-c92e6480f3d2b986cc026f0efb97db4bb019aeda.tar.xz |
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.c | 6 |
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 3763a109ea..a6c05905de 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(); } |