malta: delay after reset
authorPaul Burton <paul.burton@imgtec.com>
Thu, 29 Jan 2015 10:38:21 +0000 (10:38 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Thu, 29 Jan 2015 12:11:02 +0000 (13:11 +0100)
Reset isn't instant, so delay to give it a chance. Otherwise we go on
to print a failure message before resetting anyway.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
board/imgtec/malta/malta.c

index 72b03ff8cd35e59dfdd9b8b971a000d1ecd6d25d..79562f79a80c6f93acb134e3a9d342957a3807c8 100644 (file)
@@ -124,6 +124,7 @@ void _machine_restart(void)
 
        reset_base = (void __iomem *)CKSEG1ADDR(MALTA_RESET_BASE);
        __raw_writel(GORESET, reset_base);
+       mdelay(1000);
 }
 
 int board_early_init_f(void)