aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/sleep34xx.S
diff options
context:
space:
mode:
authorJean Pihet <j-pihet@ti.com>2010-12-18 10:44:46 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2010-12-21 17:45:59 -0500
commit8352129166b8270253a746f336a4429b349b023d (patch)
tree6e1a83e571d357b30ab15878b9ebcf8da21c0c62 /arch/arm/mach-omap2/sleep34xx.S
parentf7dfe3d8a98b7c4869c09826e3a65663cb9c71be (diff)
OMAP3: add comments for low power code errata
Errata covered: - 1.157 & 1.185 - i443 - i581 Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet <j-pihet@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Nishanth Menon <nm@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/sleep34xx.S')
-rw-r--r--arch/arm/mach-omap2/sleep34xx.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/sleep34xx.S b/arch/arm/mach-omap2/sleep34xx.S
index 06e47326e17c..17dfe30db3a7 100644
--- a/arch/arm/mach-omap2/sleep34xx.S
+++ b/arch/arm/mach-omap2/sleep34xx.S
@@ -596,6 +596,7 @@ usettbr0:
596 * Internal functions 596 * Internal functions
597 */ 597 */
598 598
599/* This function implements the erratum ID i443 WA, applies to 34xx >= ES3.0 */
599 .text 600 .text
600ENTRY(es3_sdrc_fix) 601ENTRY(es3_sdrc_fix)
601 ldr r4, sdrc_syscfg @ get config addr 602 ldr r4, sdrc_syscfg @ get config addr
@@ -641,6 +642,16 @@ sdrc_manual_1:
641ENTRY(es3_sdrc_fix_sz) 642ENTRY(es3_sdrc_fix_sz)
642 .word . - es3_sdrc_fix 643 .word . - es3_sdrc_fix
643 644
645/*
646 * This function implements the erratum ID i581 WA:
647 * SDRC state restore before accessing the SDRAM
648 *
649 * Only used at return from non-OFF mode. For OFF
650 * mode the ROM code configures the SDRC and
651 * the DPLL before calling the restore code directly
652 * from DDR.
653 */
654
644/* Make sure SDRC accesses are ok */ 655/* Make sure SDRC accesses are ok */
645wait_sdrc_ok: 656wait_sdrc_ok:
646 657