cpufreq: enable ARM drivers on arm64
authorRob Herring <rob.herring@calxeda.com>
Thu, 5 Dec 2013 00:23:13 +0000 (18:23 -0600)
committerMark Brown <broonie@linaro.org>
Thu, 5 Dec 2013 18:17:34 +0000 (18:17 +0000)
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.

[Submitted upstream by Rob, still in review at the current time]

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/Kconfig
drivers/cpufreq/Kconfig

index 56b3f6d447ae10b8d53f9cfb767826fe90a97c11..c2b4a765ff4aac16234ad4e15edc6e57c043777c 100644 (file)
@@ -229,6 +229,14 @@ config SYSVIPC_COMPAT
 
 endmenu
 
+menu "Power management options"
+
+source "kernel/power/Kconfig"
+
+source "drivers/cpufreq/Kconfig"
+
+endmenu
+
 source "net/Kconfig"
 
 source "drivers/Kconfig"
index 534fcb8251538a31d2695313b1d565990f8d51d4..a9c1324843ebe4148bfc31421641a658e83faef7 100644 (file)
@@ -201,7 +201,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