Skip to content
Commit 93032e31 authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle
Browse files

MIPS: Malta: Fixup reboot

Commit 10b6ea09

 ("MIPS: Malta: Use syscon-reboot driver to reboot")
converted the Malta board to use the generic syscon-reboot driver to
handle reboots, but incorrectly used the value 0x4d rather than 0x42 as
the magic to write to the reboot register.

I also incorrectly believed that syscon/regmap would default to native
endianness, but this isn't the case. Force this by specifying with a
native-endian property in the devicetree.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Fixes: 10b6ea09

 ("MIPS: Malta: Use syscon-reboot driver to reboot")
Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Cc: linux-mips@linux-mips.org
Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
Tested-by: default avatarMaciej W. Rozycki <macro@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/14396/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 682c1e52
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