u-boot/arch/arm/include/asm/arch-omap5
Lokesh Vutla 38f25b125e OMAP4+: Force DDR in self-refresh after warm reset
Errata ID:i727

Description: The refresh rate is programmed in the EMIF_SDRAM_REF_CTRL[15:0]
REG_REFRESH_RATE parameter taking into account frequency of the device.
When a warm reset is applied on the system, the OMAP processor restarts
with another OPP and so frequency is not the same. Due to this frequency
change, the refresh rate will be too low and could result in an unexpected
behavior on the memory side.

Workaround:
The workaround is to force self-refresh when coming back from the warm reset
with the following sequence:
• Set EMIF_PWR_MGMT_CTRL[10:8] REG_LP_MODE to 0x2
• Set EMIF_PWR_MGMT_CTRL[7:4] REG_SR_TIM to 0x0
• Do a dummy read (loads automatically new value of sr_tim)
This will reduce the risk of memory content corruption, but memory content
can't be guaranteed after a warm reset.

This errata is impacted on
OMAP4430: 1.0, 2.0, 2.1, 2.2, 2.3
OMAP4460: 1.0, 1.1
OMAP4470: 1.0
OMAP5430: 1.0

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Senthilvadivu Guruswamy <svadivu@ti.com>
2012-07-07 14:07:35 +02:00
..
clocks.h OMAP5: Change voltages for omap5432 2012-07-07 14:07:24 +02:00
cpu.h ARM: OMAP3+: Detect reset type 2012-07-07 14:07:34 +02:00
gpio.h omap5: Add minimal support for omap5430. 2011-11-15 22:25:50 +01:00
i2c.h omap5: Add minimal support for omap5430. 2011-11-15 22:25:50 +01:00
mmc_host_def.h ARM:OMAP+:MMC: Add parameters to MMC init 2012-05-15 08:31:22 +02:00
mux_omap5.h omap4+: Avoid using __attribute__ ((__packed__)) 2012-05-15 08:31:26 +02:00
omap.h OMAP5: Configure the io settings for omap5432 uevm board 2012-07-07 14:07:23 +02:00
sys_proto.h OMAP4+: Force DDR in self-refresh after warm reset 2012-07-07 14:07:35 +02:00