cpufreq: enable ARM drivers on arm64
authorRob Herring <rob.herring@calxeda.com>
Mon, 24 Feb 2014 02:27:57 +0000 (11:27 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 28 Feb 2014 23:55:40 +0000 (00:55 +0100)
Enable cpufreq and power kconfig menus on arm64 along with arm cpufreq
drivers. The power menu is needed for OPP support. At least on Calxeda
systems, the same cpufreq driver is used for arm and arm64 based
systems.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm64/Kconfig
drivers/cpufreq/Kconfig

index 27bbcfc7202a8df09f6ec35cd3939f0f5c26edfd..c6e2f5bb1a7bf1e7499548f32db4e795b5db5199 100644 (file)
@@ -303,6 +303,14 @@ source "drivers/cpuidle/Kconfig"
 
 endmenu
 
+menu "Power management options"
+
+source "kernel/power/Kconfig"
+
+source "drivers/cpufreq/Kconfig"
+
+endmenu
+
 source "net/Kconfig"
 
 source "drivers/Kconfig"
index 4b029c0944af5ef55b9bdb02a266cbcb3ecd2d23..1fbe11f2a14603e499042974e7fc8064414978a4 100644 (file)
@@ -200,7 +200,7 @@ source "drivers/cpufreq/Kconfig.x86"
 endmenu
 
 menu "ARM CPU frequency scaling drivers"
-depends on ARM
+depends on ARM || ARM64
 source "drivers/cpufreq/Kconfig.arm"
 endmenu