diff options
author | Richard Purdie <richard@openedhand.com> | 2008-07-18 08:35:45 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-07-18 08:35:45 +0000 |
commit | 78fc9af3a9a68adf8d229731dae7467bae8c1878 (patch) | |
tree | fedbd38b9b517891e072bdbf971a8b0d5fc1dc34 /meta/packages/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch | |
parent | e9ebcc4c19a624f76051c0a25d9ecf6ac4afb257 (diff) | |
download | openembedded-core-78fc9af3a9a68adf8d229731dae7467bae8c1878.tar.gz openembedded-core-78fc9af3a9a68adf8d229731dae7467bae8c1878.tar.bz2 openembedded-core-78fc9af3a9a68adf8d229731dae7467bae8c1878.tar.xz openembedded-core-78fc9af3a9a68adf8d229731dae7467bae8c1878.zip |
linux-omap2: Add from OE for beagleboard
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4869 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch')
-rw-r--r-- | meta/packages/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch b/meta/packages/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch new file mode 100644 index 000000000..d35fd4756 --- /dev/null +++ b/meta/packages/linux/linux-omap2-git/omap3evm/0002-omap3-cpuidle.patch @@ -0,0 +1,88 @@ +From: "Rajendra Nayak" <rnayak@ti.com> +To: <linux-omap@vger.kernel.org> +Subject: [PATCH 02/02] Kconfig changes +Date: Tue, 10 Jun 2008 12:39:02 +0530 + +Updates the CPUidle Kconfig + +Signed-off-by: Rajendra Nayak <rnayak@ti.com> + +--- + arch/arm/Kconfig | 10 ++++++++++ + drivers/cpuidle/Kconfig | 28 ++++++++++++++++++++++------ + 2 files changed, 32 insertions(+), 6 deletions(-) + +Index: linux-omap-2.6/arch/arm/Kconfig +=================================================================== +--- linux-omap-2.6.orig/arch/arm/Kconfig 2008-06-10 11:43:10.790502713 +0530 ++++ linux-omap-2.6/arch/arm/Kconfig 2008-06-10 11:43:38.701604549 +0530 +@@ -954,6 +954,16 @@ config ATAGS_PROC + + endmenu + ++if (ARCH_OMAP) ++ ++menu "CPUIdle" ++ ++source "drivers/cpuidle/Kconfig" ++ ++endmenu ++ ++endif ++ + if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA) + + menu "CPU Frequency scaling" +Index: linux-omap-2.6/drivers/cpuidle/Kconfig +=================================================================== +--- linux-omap-2.6.orig/drivers/cpuidle/Kconfig 2008-06-10 11:43:10.790502713 +0530 ++++ linux-omap-2.6/drivers/cpuidle/Kconfig 2008-06-10 12:06:36.139332151 +0530 +@@ -1,20 +1,36 @@ ++menu "CPU idle PM support" + + config CPU_IDLE + bool "CPU idle PM support" +- default ACPI ++ default n + help + CPU idle is a generic framework for supporting software-controlled + idle processor power management. It includes modular cross-platform + governors that can be swapped during runtime. + +- If you're using an ACPI-enabled platform, you should say Y here. ++ If you're using a mobile platform that supports CPU idle PM (e.g. ++ an ACPI-capable notebook), you should say Y here. ++ ++if CPU_IDLE ++ ++comment "Governors" + + config CPU_IDLE_GOV_LADDER +- bool ++ bool "ladder" + depends on CPU_IDLE +- default y ++ default n + + config CPU_IDLE_GOV_MENU +- bool ++ bool "menu" + depends on CPU_IDLE && NO_HZ +- default y ++ default n ++ help ++ This cpuidle governor evaluates all available states and chooses the ++ deepest state that meets all of the following constraints: BM activity, ++ expected time until next timer interrupt, and last break event time ++ delta. It is designed to minimize power consumption. Currently ++ dynticks is required. ++ ++endif # CPU_IDLE ++ ++endmenu + +-- +To unsubscribe from this list: send the line "unsubscribe linux-omap" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html + |