diff options
author | Koen Kooi <koen@openembedded.org> | 2009-04-25 09:39:00 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-04-25 09:39:00 +0200 |
commit | 46c34116ecaefae4baf3a1ff4d726f40551fe5e3 (patch) | |
tree | 0db6e0df7437fefd2b078f0fb2c2ae5aef4ccd80 | |
parent | d25011ebad10a620a7f8fe09ef935c1957d5b68f (diff) |
linux-omap-pm: readd patch to register all OPPs, fix overo defconfig
-rw-r--r-- | recipes/linux/linux-omap-pm/overo/defconfig | 10 | ||||
-rw-r--r-- | recipes/linux/linux-omap-pm/register-all-OPPs.diff | 12 | ||||
-rw-r--r-- | recipes/linux/linux-omap-pm_git.bb | 1 |
3 files changed, 18 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; diff --git a/recipes/linux/linux-omap-pm_git.bb b/recipes/linux/linux-omap-pm_git.bb index 078f6a7d41..11bfa4b087 100644 --- a/recipes/linux/linux-omap-pm_git.bb +++ b/recipes/linux/linux-omap-pm_git.bb @@ -76,6 +76,7 @@ SRC_URI_append = " \ file://dss2/0053-DSS2-disable-LCD-DIGIT-before-resetting-DSS.patch;patch=1 \ file://dss2/merge-fixups.diff;patch=1 \ file://overo-cpufreq.diff;patch=1 \ + file://register-all-OPPs.diff;patch=1 \ " |