Skip to contentSkip to conversation

cpufreq: kirkwood: Reinstate cpufreq driver for ARCH_KIRKWOOD

PATCH Applied Quentin Armitage 4 participants 4 messages Jul 10, 2014 – Jul 18, 2014 CPU frequency scaling framework

lore
Share & tools
lore
maintainer Acked-by on v1 1/1
#1 lore raw
In reply to Quentin Armitage
Quoted 19 lines · Quentin Armitage

Commit ff1f0018cf66080d8e6f59791e552615648a033a ("drivers: Enable building of Kirkwood drivers for mach-mvebu") added Kirkwood into mach-mvebu, adding MACH_KIRKWOOD to ARCH_KIRKWOOD in the KConfig files.

The change for ARM_KIRKWOOD_CPUFREQ replaced ARCH_KIRKWOOD with MACH_KIRKWOOD, whereas all the other changes were ARCH_KIRKWOOD || MACH_KIRKWOOD.

As a consequence of this change, the cpufreq driver is no longer enabled for ARCH_KIRKWOOD. This patch reinstates ARM_KIRKWOOD_CPUFREQ for ARCH_KIRKWOOD.

---

drivers/cpufreq/Kconfig.arm +0 -0
index ebac671..24778f0 100644

drivers/cpufreq/Kconfig.arm config ARM_INTEGRATOR · line 124

Quoted 8 lines
drivers/cpufreq/Kconfig.arm +1 -1
@@ -118,7 +118,7 @@ config ARM_INTEGRATOR
          If in doubt, say Y.
 
 config ARM_KIRKWOOD_CPUFREQ
-       def_bool MACH_KIRKWOOD
+       def_bool ARCH_KIRKWOOD || MACH_KIRKWOOD
        help
          This adds the CPUFreq driver for Marvell Kirkwood
          SoCs.
#0 lore raw

PATCH 1/1 cpufreq: kirkwood: Reinstate cpufreq driver for ARCH_KIRKWOOD

Commit ff1f0018cf66080d8e6f59791e552615648a033a ("drivers: Enable building of Kirkwood drivers for mach-mvebu") added Kirkwood into mach-mvebu, adding MACH_KIRKWOOD to ARCH_KIRKWOOD in the KConfig files.

The change for ARM_KIRKWOOD_CPUFREQ replaced ARCH_KIRKWOOD with MACH_KIRKWOOD, whereas all the other changes were ARCH_KIRKWOOD || MACH_KIRKWOOD.

As a consequence of this change, the cpufreq driver is no longer enabled for ARCH_KIRKWOOD. This patch reinstates ARM_KIRKWOOD_CPUFREQ for ARCH_KIRKWOOD.

---

drivers/cpufreq/Kconfig.arm +1 -1
index ebac671..24778f0 100644
@@ -118,7 +118,7 @@ config ARM_INTEGRATOR
          If in doubt, say Y.
 
 config ARM_KIRKWOOD_CPUFREQ
-       def_bool MACH_KIRKWOOD
+       def_bool ARCH_KIRKWOOD || MACH_KIRKWOOD
        help
          This adds the CPUFreq driver for Marvell Kirkwood
          SoCs.
Acked-by on v1 1/1
#2 lore raw
Quoted 19 lines · Quentin Armitage

Commit ff1f0018cf66080d8e6f59791e552615648a033a ("drivers: Enable building of Kirkwood drivers for mach-mvebu") added Kirkwood into mach-mvebu, adding MACH_KIRKWOOD to ARCH_KIRKWOOD in the KConfig files.

The change for ARM_KIRKWOOD_CPUFREQ replaced ARCH_KIRKWOOD with MACH_KIRKWOOD, whereas all the other changes were ARCH_KIRKWOOD || MACH_KIRKWOOD.

As a consequence of this change, the cpufreq driver is no longer enabled for ARCH_KIRKWOOD. This patch reinstates ARM_KIRKWOOD_CPUFREQ for ARCH_KIRKWOOD.

---

drivers/cpufreq/Kconfig.arm +0 -0
index ebac671..24778f0 100644

drivers/cpufreq/Kconfig.arm config ARM_INTEGRATOR · line 124

Quoted 8 lines
drivers/cpufreq/Kconfig.arm +1 -1
@@ -118,7 +118,7 @@ config ARM_INTEGRATOR
          If in doubt, say Y.
 
 config ARM_KIRKWOOD_CPUFREQ
-       def_bool MACH_KIRKWOOD
+       def_bool ARCH_KIRKWOOD || MACH_KIRKWOOD
        help
          This adds the CPUFreq driver for Marvell Kirkwood
          SoCs.

Andrew

#3 lore raw
Quoted 22 lines · Andrew Lunn
Quoted 21 lines · Quentin Armitage

Commit ff1f0018cf66080d8e6f59791e552615648a033a ("drivers: Enable building of Kirkwood drivers for mach-mvebu") added Kirkwood into mach-mvebu, adding MACH_KIRKWOOD to ARCH_KIRKWOOD in the KConfig files.

The change for ARM_KIRKWOOD_CPUFREQ replaced ARCH_KIRKWOOD with MACH_KIRKWOOD, whereas all the other changes were ARCH_KIRKWOOD || MACH_KIRKWOOD.

As a consequence of this change, the cpufreq driver is no longer enabled for ARCH_KIRKWOOD. This patch reinstates ARM_KIRKWOOD_CPUFREQ for ARCH_KIRKWOOD.

---

drivers/cpufreq/Kconfig.arm +0 -0
index ebac671..24778f0 100644
@@ -118,7 +118,7 @@ config ARM_INTEGRATOR
          If in doubt, say Y.
 
Quoted 8 lines

drivers/cpufreq/Kconfig.arm config ARM_INTEGRATOR · line 124

Quoted 6 lines
drivers/cpufreq/Kconfig.arm +1 -1
 config ARM_KIRKWOOD_CPUFREQ
-       def_bool MACH_KIRKWOOD
+       def_bool ARCH_KIRKWOOD || MACH_KIRKWOOD
        help
          This adds the CPUFreq driver for Marvell Kirkwood
          SoCs.

Applied, thanks!