u-boot/arch/arm/include/asm/arch-omap4
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: DPLL core lock 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
ehci.h ehci-omap: Clean up added ehci-omap.c 2012-02-12 10:11:31 +01:00
gpio.h omap: fix gpio related build breaks 2011-09-04 11:33:36 +02:00
i2c.h ARMV7: Restructure OMAP i2c driver to allow code sharing between OMAP3 and OMAP4 2010-07-05 20:00:10 -04:00
mmc_host_def.h ARM:OMAP+:MMC: Add parameters to MMC init 2012-05-15 08:31:22 +02:00
mux_omap4.h omap4+: Avoid using __attribute__ ((__packed__)) 2012-05-15 08:31:26 +02:00
omap.h ARM: OMAP4: Correct the lpddr2 io settings register value. 2012-07-07 14:07:24 +02:00
sys_proto.h OMAP4+: Force DDR in self-refresh after warm reset 2012-07-07 14:07:35 +02:00