Explorar o código

malta: delay after reset

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>
Paul Burton %!s(int64=10) %!d(string=hai) anos
pai
achega
28c8c3d40f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      board/imgtec/malta/malta.c

+ 1 - 0
board/imgtec/malta/malta.c

@@ -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)