summaryrefslogtreecommitdiff
path: root/arch/mips/jz4740/reset.c
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2020-04-13 17:26:33 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-04-29 23:00:07 +0200
commitf932449c11dabb4b0588e30f35c084b910483ca5 (patch)
treeb0428c15c247a31ac53fc2cfc03a8c28dccf7eb4 /arch/mips/jz4740/reset.c
parent8827af9427dea9432d5b9c5366c7312e7f647484 (diff)
MIPS: ingenic: Drop obsolete code, merge the rest in setup.c
Drop a bootload of 10-years-old dirty code, that is not used anymore, as it has been replaced with clean code over the ages. Merge the very few bits left inside setup.c, so that everything is clean and tidy now. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/jz4740/reset.c')
-rw-r--r--arch/mips/jz4740/reset.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/mips/jz4740/reset.c b/arch/mips/jz4740/reset.c
deleted file mode 100644
index 1f9f02e54085..000000000000
--- a/arch/mips/jz4740/reset.c
+++ /dev/null
@@ -1,24 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
- */
-
-#include <asm/reboot.h>
-
-#include "reset.h"
-
-static void jz4740_halt(void)
-{
- while (1) {
- __asm__(".set push;\n"
- ".set mips3;\n"
- "wait;\n"
- ".set pop;\n"
- );
- }
-}
-
-void jz4740_reset_init(void)
-{
- _machine_halt = jz4740_halt;
-}