aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib')
-rw-r--r--arch/arm/lib/reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/lib/reset.c b/arch/arm/lib/reset.c
index 95169bae1c1..3e051e36f12 100644
--- a/arch/arm/lib/reset.c
+++ b/arch/arm/lib/reset.c
@@ -25,6 +25,7 @@
#include <cpu_func.h>
#include <irq_func.h>
#include <linux/delay.h>
+#include <stdio.h>
__weak void reset_misc(void)
{
@@ -33,8 +34,7 @@ __weak void reset_misc(void)
int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
puts ("resetting ...\n");
-
- mdelay(50); /* wait 50 ms */
+ flush();
disable_interrupts();