diff options
author | Jeremy Vial <jvial@adeneo-embedded.com> | 2014-07-31 09:10:33 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-08-01 04:17:50 -0400 |
commit | 9b5f7428f8b16bd8980213f2b70baf1dd0b9e36c (patch) | |
tree | 877ba5ea26c4d0f1ebce3ef17b751a4b231651dd | |
parent | d40dbcd57b942528d7dbd17ace0b32136d848ecb (diff) |
ARM: OMAP3: Fix choice of omap3_restore_es function in OMAP34XX rev3.1.2 case.
According to the comment “restore_es3: applies to 34xx >= ES3.0" in
"arch/arm/mach-omap2/sleep34xx.S”, omap3_restore_es3 should be used
if the revision of an OMAP34xx is ES3.1.2.
Signed-off-by: Jeremy Vial <jvial@adeneo-embedded.com>
Cc: stable@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/control.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index f4796c002070..e84e3b4bfde1 100644 --- a/arch/arm/mach-omap2/control.c +++ b/arch/arm/mach-omap2/control.c | |||
@@ -309,7 +309,8 @@ void omap3_save_scratchpad_contents(void) | |||
309 | scratchpad_contents.public_restore_ptr = | 309 | scratchpad_contents.public_restore_ptr = |
310 | virt_to_phys(omap3_restore_3630); | 310 | virt_to_phys(omap3_restore_3630); |
311 | else if (omap_rev() != OMAP3430_REV_ES3_0 && | 311 | else if (omap_rev() != OMAP3430_REV_ES3_0 && |
312 | omap_rev() != OMAP3430_REV_ES3_1) | 312 | omap_rev() != OMAP3430_REV_ES3_1 && |
313 | omap_rev() != OMAP3430_REV_ES3_1_2) | ||
313 | scratchpad_contents.public_restore_ptr = | 314 | scratchpad_contents.public_restore_ptr = |
314 | virt_to_phys(omap3_restore); | 315 | virt_to_phys(omap3_restore); |
315 | else | 316 | else |