Skip to content

Commit 1f1755a

Browse files
geertuvireshk
authored andcommitted
cpufreq: qoriq: Add platform dependencies
The Freescale QorIQ clock controller is only present on Freescale E500MC and Layerscape SoCs. Add platform dependencies to the QORIQ_CPUFREQ config symbol, to avoid asking the user about it when configuring a kernel without E500MC or Layerscape support. Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: Li Yang <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent cf1e044 commit 1f1755a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/cpufreq/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ endif
323323

324324
config QORIQ_CPUFREQ
325325
tristate "CPU frequency scaling driver for Freescale QorIQ SoCs"
326-
depends on OF && COMMON_CLK && (PPC_E500MC || ARM || ARM64)
326+
depends on OF && COMMON_CLK
327+
depends on PPC_E500MC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
327328
select CLK_QORIQ
328329
help
329330
This adds the CPUFreq driver support for Freescale QorIQ SoCs

0 commit comments

Comments
 (0)