aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-omap-pm
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-25 09:39:00 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-25 09:39:00 +0200
commit46c34116ecaefae4baf3a1ff4d726f40551fe5e3 (patch)
tree0db6e0df7437fefd2b078f0fb2c2ae5aef4ccd80 /recipes/linux/linux-omap-pm
parentd25011ebad10a620a7f8fe09ef935c1957d5b68f (diff)
downloadopenembedded-46c34116ecaefae4baf3a1ff4d726f40551fe5e3.tar.gz
linux-omap-pm: readd patch to register all OPPs, fix overo defconfig
Diffstat (limited to 'recipes/linux/linux-omap-pm')
-rw-r--r--recipes/linux/linux-omap-pm/overo/defconfig10
-rw-r--r--recipes/linux/linux-omap-pm/register-all-OPPs.diff12
2 files changed, 17 insertions, 5 deletions
diff --git a/recipes/linux/linux-omap-pm/overo/defconfig b/recipes/linux/linux-omap-pm/overo/defconfig
index 0c86af8ec1..e90f2af4da 100644
--- a/recipes/linux/linux-omap-pm/overo/defconfig
+++ b/recipes/linux/linux-omap-pm/overo/defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29-omap1
-# Thu Apr 23 13:22:02 2009
+# Sat Apr 25 09:31:25 2009
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -210,8 +210,8 @@ CONFIG_OMAP_DM_TIMER=y
# CONFIG_OMAP_LL_DEBUG_UART2 is not set
CONFIG_OMAP_LL_DEBUG_UART3=y
# CONFIG_OMAP_PM_NONE is not set
-CONFIG_OMAP_PM_NOOP=y
-# CONFIG_OMAP_PM_SRF is not set
+# CONFIG_OMAP_PM_NOOP is not set
+CONFIG_OMAP_PM_SRF=y
CONFIG_ARCH_OMAP34XX=y
CONFIG_ARCH_OMAP3430=y
@@ -312,10 +312,10 @@ CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
-# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
-CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
diff --git a/recipes/linux/linux-omap-pm/register-all-OPPs.diff b/recipes/linux/linux-omap-pm/register-all-OPPs.diff
new file mode 100644
index 0000000000..95e6b9bfab
--- /dev/null
+++ b/recipes/linux/linux-omap-pm/register-all-OPPs.diff
@@ -0,0 +1,12 @@
+--- /tmp/clock34xx.c 2009-02-18 13:51:18.000000000 +0100
++++ git/arch/arm/mach-omap2/clock34xx.c 2009-02-18 13:51:51.000000000 +0100
+@@ -698,8 +698,7 @@
+ if (!mpu_opps)
+ return;
+
+- /* Avoid registering the 120% Overdrive with CPUFreq */
+- prcm = mpu_opps + MAX_VDD1_OPP - 1;
++ prcm = mpu_opps + MAX_VDD1_OPP;
+ for (; prcm->rate; prcm--) {
+ freq_table[i].index = i;
+ freq_table[i].frequency = prcm->rate / 1000;