mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
ba21a453a5
commit
28c8c3d40f
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ void _machine_restart(void)
|
||||||
|
|
||||||
reset_base = (void __iomem *)CKSEG1ADDR(MALTA_RESET_BASE);
|
reset_base = (void __iomem *)CKSEG1ADDR(MALTA_RESET_BASE);
|
||||||
__raw_writel(GORESET, reset_base);
|
__raw_writel(GORESET, reset_base);
|
||||||
|
mdelay(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
int board_early_init_f(void)
|
int board_early_init_f(void)
|
||||||
|
|
Loading…
Reference in a new issue