diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-08-22 10:04:27 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-08-24 17:29:28 +0200 |
commit | 625326ea9c84872c71f90b97a9def3c01db9100f (patch) | |
tree | 71dcae0012c460d2ff9808f0f06913e775a43a6f /arch/mips/pnx833x/common/reset.c | |
parent | MIPS: Paravirt: remove remaining pieces of paravirt (diff) | |
download | linux-625326ea9c84872c71f90b97a9def3c01db9100f.tar.xz linux-625326ea9c84872c71f90b97a9def3c01db9100f.zip |
MIPS: Remove PNX833x alias NXP_STB22x
Remove another unused MIPS platform.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/pnx833x/common/reset.c')
-rw-r--r-- | arch/mips/pnx833x/common/reset.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/arch/mips/pnx833x/common/reset.c b/arch/mips/pnx833x/common/reset.c deleted file mode 100644 index b48e83bf912b..000000000000 --- a/arch/mips/pnx833x/common/reset.c +++ /dev/null @@ -1,31 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * reset.c: reset support for PNX833X. - * - * Copyright 2008 NXP Semiconductors - * Chris Steel <chris.steel@nxp.com> - * Daniel Laird <daniel.j.laird@nxp.com> - * - * Based on software written by: - * Nikita Youshchenko <yoush@debian.org>, based on PNX8550 code. - */ -#include <linux/reboot.h> -#include <pnx833x.h> - -void pnx833x_machine_restart(char *command) -{ - PNX833X_RESET_CONTROL_2 = 0; - PNX833X_RESET_CONTROL = 0; -} - -void pnx833x_machine_halt(void) -{ - while (1) - __asm__ __volatile__ ("wait"); - -} - -void pnx833x_machine_power_off(void) -{ - pnx833x_machine_halt(); -} |