9
0
Fork 0

arm: baltos: prolong global reset

Prolong global reset to the max. value of 0xff. Such a long reset
is required for some peripherals found on Baltos devices.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Yegor Yefremov 2016-12-09 15:17:15 +01:00 committed by Sascha Hauer
parent d385021578
commit deba980e99
1 changed files with 6 additions and 0 deletions

View File

@ -126,6 +126,12 @@ ENTRY_FUNCTION(start_am33xx_baltos_sdram, r0, r1, r2)
{
void *fdt;
/*
* Prolong global reset duration to the max. value (0xff)
* and leave power domain reset to its default value (0x10).
*/
__raw_writel(0x000010ff, AM33XX_PRM_RSTTIME);
fdt = __dtb_am335x_baltos_minimal_start;
fdt -= get_runtime_offset();