]> git.dujemihanovic.xyz Git - u-boot.git/commit
OMAP5: Fix bug in omap5_es1_prcm struct
authorLubomir Popov <lpopov@mm-sol.com>
Sun, 26 May 2013 10:03:17 +0000 (10:03 +0000)
committerTom Rini <trini@ti.com>
Mon, 10 Jun 2013 12:43:09 +0000 (08:43 -0400)
commite0a8c99e6103a9052510ea9e2067c18cb688e1cb
tree72c53d75d973cf3cf7315cc7afafc1b2f44abaaa
parente69c585d76b7c8f422ad488ea92268c60dc2a436
OMAP5: Fix bug in omap5_es1_prcm struct

The newly introduced function setup_warmreset_time(), called
from within prcm_init(), tries to write to the prm_rsttime
OMAP5 register. The struct member holding this register's
address is however initialized for OMAP5 ES2.0 only. On ES1.0
devices this uninitialized value causes a second (warm) reset
at startup.

Add .prm_rsttime address init to the ES1.0 struct.

Signed-off-by: Lubomir Popov <lpopov@mm-sol.com>
Acked-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/omap5/prcm-regs.c