From 44ae9a2b7a8292769f463af4e949c3e181a6d208 Mon Sep 17 00:00:00 2001
From: Luka Perkov <luka@openwrt.org>
Date: Wed, 23 Oct 2013 22:16:07 +0000
Subject: [PATCH] imx6: enable cpufreq

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38514
---
 target/linux/imx6/config-3.10 | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/target/linux/imx6/config-3.10 b/target/linux/imx6/config-3.10
index 0d4f16d549c..50ebcd98032 100644
--- a/target/linux/imx6/config-3.10
+++ b/target/linux/imx6/config-3.10
@@ -26,6 +26,7 @@ CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
 # CONFIG_ARCH_WM8850 is not set
 CONFIG_ARM=y
 # CONFIG_ARM_APPENDED_DTB is not set
+# CONFIG_ARM_BIG_LITTLE_CPUFREQ is not set
 # CONFIG_ARM_CPU_SUSPEND is not set
 CONFIG_ARM_ERRATA_754322=y
 CONFIG_ARM_ERRATA_764369=y
@@ -33,6 +34,7 @@ CONFIG_ARM_ERRATA_775420=y
 # CONFIG_ARM_EXYNOS4210_CPUFREQ is not set
 # CONFIG_ARM_EXYNOS4X12_CPUFREQ is not set
 # CONFIG_ARM_EXYNOS5250_CPUFREQ is not set
+# CONFIG_ARM_EXYNOS5440_CPUFREQ is not set
 CONFIG_ARM_GIC=y
 CONFIG_ARM_IMX6Q_CPUFREQ=y
 # CONFIG_ARM_KIRKWOOD_CPUFREQ is not set
@@ -68,13 +70,14 @@ CONFIG_CPU_FREQ=y
 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_GOV_CONSERVATIVE is not set
-# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
+CONFIG_CPU_FREQ_GOV_COMMON=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
 CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
-# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
-# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
 CONFIG_CPU_FREQ_STAT=y
-# CONFIG_CPU_FREQ_STAT_DETAILS is not set
+CONFIG_CPU_FREQ_STAT_DETAILS=y
 CONFIG_CPU_FREQ_TABLE=y
 CONFIG_CPU_HAS_ASID=y
 # CONFIG_CPU_ICACHE_DISABLE is not set
@@ -122,6 +125,7 @@ CONFIG_GENERIC_BUG=y
 CONFIG_GENERIC_CLOCKEVENTS=y
 CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
 CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
+CONFIG_GENERIC_CPUFREQ_CPU0=y
 CONFIG_GENERIC_IDLE_POLL_SETUP=y
 CONFIG_GENERIC_IO=y
 CONFIG_GENERIC_IRQ_CHIP=y
@@ -275,7 +279,7 @@ CONFIG_PINCTRL_IMX=y
 CONFIG_PINCTRL_IMX6Q=y
 # CONFIG_PINCTRL_SINGLE is not set
 CONFIG_PINMUX=y
-# CONFIG_PM_OPP is not set
+CONFIG_PM_OPP=y
 CONFIG_PPS=y
 # CONFIG_PREEMPT_RCU is not set
 CONFIG_PROC_DEVICETREE=y