Skip to content

Commit 28105fd

Browse files
jayakumar2Russell King
authored andcommitted
[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: Jaya Kumar <[email protected]> Acked-by: Eric Miao <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent 12a8ab1 commit 28105fd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

arch/arm/mach-pxa/reset.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,13 @@ void arch_reset(char mode)
9090
/* Jump into ROM at address 0 */
9191
cpu_reset(0);
9292
break;
93-
case 'h':
94-
do_hw_reset();
95-
break;
9693
case 'g':
9794
do_gpio_reset();
9895
break;
96+
case 'h':
97+
default:
98+
do_hw_reset();
99+
break;
99100
}
100101
}
101102

0 commit comments

Comments
 (0)