diff options
| author | Jim Wylder <jwylder@motorola.com> | 2014-06-12 14:39:26 -0500 |
|---|---|---|
| committer | Jim Wylder <jwylder@motorola.com> | 2014-06-12 14:41:49 -0500 |
| commit | 0ff908aebf6eba804c4bccb830a56d6b04dc7f47 (patch) | |
| tree | 95e7ee8930508bdf61f8d3c630d0f2c3c3477184 /arch/arm/mach-omap2/pm34xx.c | |
| parent | 7b3886939b4738329758eefb6406adb1d9a08783 (diff) | |
| download | olio-linux-3.10-0ff908aebf6eba804c4bccb830a56d6b04dc7f47.tar.xz olio-linux-3.10-0ff908aebf6eba804c4bccb830a56d6b04dc7f47.zip | |
IKXCLOCK-2271 arm: omap diable offmode for mem > 256MB
Change-Id: I74e945f5cf55cc379eb615e95dae2ddef40e1f72
Signed-off-by: Jim Wylder <jwylder@motorola.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
| -rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index ceedc07fea0..afe15f00637 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -35,6 +35,7 @@ #include <trace/events/power.h> #include <asm/fncpy.h> +#include <asm/setup.h> #include <asm/suspend.h> #include <asm/system_misc.h> @@ -721,6 +722,9 @@ static void __init pm_errata_configure(void) #ifndef CONFIG_DISABLE_OMAP_ERRATA_i583 pm34xx_errata |= PM_SDRC_WAKEUP_ERRATUM_i583; #endif + if (meminfo.bank[0].size > 256 * (1024 * 1024)) + pm34xx_errata |= PM_SDRC_WAKEUP_ERRATUM_i583; + } else if (cpu_is_omap34xx()) { pm34xx_errata |= PM_PER_MEMORIES_ERRATUM_i582; } |