Skip to content

Commit

Permalink
ARM: imx: Remove cpufreq driver
Browse files Browse the repository at this point in the history
The old cpufreq driver is not necessary anymore with DT and
cpufreq-cpu0.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
  • Loading branch information
Markus Pargmann authored and Shawn Guo committed Apr 1, 2013
1 parent fda7f22 commit 180cb7d
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 269 deletions.
7 changes: 0 additions & 7 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2153,13 +2153,6 @@ if ARCH_HAS_CPUFREQ

source "drivers/cpufreq/Kconfig"

config CPU_FREQ_IMX
tristate "CPUfreq driver for i.MX CPUs"
depends on ARCH_MXC && CPU_FREQ
select CPU_FREQ_TABLE
help
This enables the CPUfreq driver for i.MX CPUs.

config CPU_FREQ_SA1100
bool

Expand Down
3 changes: 1 addition & 2 deletions arch/arm/mach-imx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o clk-imx31.o iomux-imx31.o ehci-
obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o clk-imx35.o ehci-imx35.o pm-imx3.o

imx5-pm-$(CONFIG_PM) += pm-imx5.o
obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o mm-imx5.o clk-imx51-imx53.o ehci-imx5.o $(imx5-pm-y) cpu_op-mx51.o
obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o mm-imx5.o clk-imx51-imx53.o ehci-imx5.o $(imx5-pm-y)

obj-$(CONFIG_COMMON_CLK) += clk-pllv1.o clk-pllv2.o clk-pllv3.o clk-gate2.o \
clk-pfd.o clk-busy.o clk.o
Expand All @@ -27,7 +27,6 @@ obj-$(CONFIG_IRAM_ALLOC) += iram_alloc.o
obj-$(CONFIG_MXC_ULPI) += ulpi.o
obj-$(CONFIG_MXC_USE_EPIT) += epit.o
obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o
obj-$(CONFIG_CPU_FREQ_IMX) += cpufreq.o

ifeq ($(CONFIG_CPU_IDLE),y)
obj-y += cpuidle.o
Expand Down
31 changes: 0 additions & 31 deletions arch/arm/mach-imx/cpu_op-mx51.c

This file was deleted.

14 changes: 0 additions & 14 deletions arch/arm/mach-imx/cpu_op-mx51.h

This file was deleted.

206 changes: 0 additions & 206 deletions arch/arm/mach-imx/cpufreq.c

This file was deleted.

5 changes: 0 additions & 5 deletions arch/arm/mach-imx/mach-cpuimx51sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

#include "common.h"
#include "devices-imx51.h"
#include "cpu_op-mx51.h"
#include "eukrea-baseboards.h"
#include "hardware.h"
#include "iomux-mx51.h"
Expand Down Expand Up @@ -285,10 +284,6 @@ static void __init eukrea_cpuimx51sd_init(void)
mxc_iomux_v3_setup_multiple_pads(eukrea_cpuimx51sd_pads,
ARRAY_SIZE(eukrea_cpuimx51sd_pads));

#if defined(CONFIG_CPU_FREQ_IMX)
get_cpu_op = mx51_get_cpu_op;
#endif

imx51_add_imx_uart(0, &uart_pdata);
imx51_add_mxc_nand(&eukrea_cpuimx51sd_nand_board_info);
imx51_add_imx2_wdt(0);
Expand Down
4 changes: 0 additions & 4 deletions arch/arm/mach-imx/mach-mx51_babbage.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "common.h"
#include "devices-imx51.h"
#include "cpu_op-mx51.h"
#include "hardware.h"
#include "iomux-mx51.h"

Expand Down Expand Up @@ -371,9 +370,6 @@ static void __init mx51_babbage_init(void)

imx51_soc_init();

#if defined(CONFIG_CPU_FREQ_IMX)
get_cpu_op = mx51_get_cpu_op;
#endif
imx51_babbage_common_init();

imx51_add_imx_uart(0, &uart_pdata);
Expand Down

0 comments on commit 180cb7d

Please sign in to comment.