Commit 092ea466 authored by Manuel Lauss's avatar Manuel Lauss Committed by Ralf Baechle

MIPS: Alchemy: devboards: sit and spin after poweroff

On boards which don't support poweroff, systemd complains about this fact.
In case poweroff fails, just sit and spin in the wait loop.
Signed-off-by: default avatarManuel Lauss <>
Cc: Linux-MIPS <>
Cc: Manuel Lauss <>
Patchwork: default avatarRalf Baechle <>
parent 3c09bae4
......@@ -11,6 +11,7 @@
#include <linux/pm.h>
#include <asm/bootinfo.h>
#include <asm/idle.h>
#include <asm/reboot.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-db1x00/bcsr.h>
......@@ -53,6 +54,8 @@ static void db1x_power_off(void)
bcsr_write(BCSR_RESETS, 0);
while (1) /* sit and spin */
static void db1x_reset(char *c)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment