Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28105fda authored by Jaya Kumar's avatar Jaya Kumar Committed by Russell King
Browse files

[ARM] 5330/1: mach-pxa: Fixup reset for systems using reboot=cold or other strings



This patch makes do_hw_reset the default reboot behavior when nothing
else matches. This restores reboot functionality on gumstix basix
devices where reboot=cold is the default boot argument.

Signed-off-by: default avatarJaya Kumar <jayakumar.lkml@gmail.com>
Acked-by: default avatarEric Miao <eric.miao@marvell.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 12a8ab15
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -90,12 +90,13 @@ void arch_reset(char mode)
		/* Jump into ROM at address 0 */
		cpu_reset(0);
		break;
	case 'h':
		do_hw_reset();
		break;
	case 'g':
		do_gpio_reset();
		break;
	case 'h':
	default:
		do_hw_reset();
		break;
	}
}