[U-Boot] [PATCH 2/4] malta: delay after reset
Paul Burton
paul.burton at imgtec.com
Thu Jan 29 11:38:21 CET 2015
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 at imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
---
board/imgtec/malta/malta.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/imgtec/malta/malta.c b/board/imgtec/malta/malta.c
index 72b03ff..79562f7 100644
--- a/board/imgtec/malta/malta.c
+++ b/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)
--
2.2.2
More information about the U-Boot
mailing list