summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2015-01-29 10:38:21 +0000
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2015-01-29 13:11:02 +0100
commit28c8c3d40fcc96e57d87c4a770adf7f11193bd69 (patch)
tree4098512e09c30952d0bbfd363543a9d25c9d7121
parentba21a453a58fc02b890f4064b293b1cb09fe7484 (diff)
downloadu-boot-imx-28c8c3d40fcc96e57d87c4a770adf7f11193bd69.zip
u-boot-imx-28c8c3d40fcc96e57d87c4a770adf7f11193bd69.tar.gz
u-boot-imx-28c8c3d40fcc96e57d87c4a770adf7f11193bd69.tar.bz2
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>
-rw-r--r--board/imgtec/malta/malta.c1
1 files changed, 1 insertions, 0 deletions
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)