diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-03-06 16:59:46 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-03-07 10:10:54 -0300 |
commit | 4f22d7f72bd1fe331b1630c28404f988ec943904 (patch) | |
tree | 2a09f65f6bca698e600e8ef8a77240ae17d13756 /recipes-kernel/linux/linux-imx-2.6.35.3 | |
parent | d9a23bda287824d499f3e765259f9e2a36a97b03 (diff) | |
download | meta-fsl-arm-4f22d7f72bd1fe331b1630c28404f988ec943904.tar.gz |
linux-imx (2.6.35.3): Enable cpufreq support for i.MX28 EVK
The DDR2 initialization code has been fixed in U-Boot so the kernel
does not hang when cpufreq support is enabled.
Change-Id: Ieb5d74c621bf446df08c9063755f15f26bab02b2
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/linux/linux-imx-2.6.35.3')
-rw-r--r-- | recipes-kernel/linux/linux-imx-2.6.35.3/imx28evk/defconfig | 2 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-imx-2.6.35.3/mx28-removecpufreq.patch | 79 |
2 files changed, 1 insertions, 80 deletions
diff --git a/recipes-kernel/linux/linux-imx-2.6.35.3/imx28evk/defconfig b/recipes-kernel/linux/linux-imx-2.6.35.3/imx28evk/defconfig index 118e9d2..dbb4eaa 100644 --- a/recipes-kernel/linux/linux-imx-2.6.35.3/imx28evk/defconfig +++ b/recipes-kernel/linux/linux-imx-2.6.35.3/imx28evk/defconfig | |||
@@ -18,7 +18,7 @@ CONFIG_TRACE_IRQFLAGS_SUPPORT=y | |||
18 | CONFIG_HARDIRQS_SW_RESEND=y | 18 | CONFIG_HARDIRQS_SW_RESEND=y |
19 | CONFIG_GENERIC_IRQ_PROBE=y | 19 | CONFIG_GENERIC_IRQ_PROBE=y |
20 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 20 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
21 | # CONFIG_ARCH_HAS_CPUFREQ is not set | 21 | CONFIG_ARCH_HAS_CPUFREQ=y |
22 | CONFIG_GENERIC_HWEIGHT=y | 22 | CONFIG_GENERIC_HWEIGHT=y |
23 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 23 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
24 | CONFIG_ZONE_DMA=y | 24 | CONFIG_ZONE_DMA=y |
diff --git a/recipes-kernel/linux/linux-imx-2.6.35.3/mx28-removecpufreq.patch b/recipes-kernel/linux/linux-imx-2.6.35.3/mx28-removecpufreq.patch deleted file mode 100644 index 0b7134b..0000000 --- a/recipes-kernel/linux/linux-imx-2.6.35.3/mx28-removecpufreq.patch +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
1 | From 7b781d1a67486a2ae50c174731ca1daebf381ab4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Fabio Estevam <festevam@gmail.com> | ||
3 | Date: Fri, 23 Mar 2012 13:13:49 -0300 | ||
4 | Subject: [PATCH] ARM: mx28: Remove CPUFREQ support | ||
5 | |||
6 | When using CPUFREQ driver with the mainline U-boot, the kernel hangs. | ||
7 | |||
8 | Remove CPUFREQ support for now. | ||
9 | |||
10 | Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> | ||
11 | --- | ||
12 | arch/arm/configs/imx28evk_defconfig | 1 - | ||
13 | arch/arm/plat-mxs/Kconfig | 2 -- | ||
14 | arch/arm/plat-mxs/clock.c | 10 ---------- | ||
15 | 3 files changed, 0 insertions(+), 13 deletions(-) | ||
16 | |||
17 | diff --git a/arch/arm/configs/imx28evk_defconfig b/arch/arm/configs/imx28evk_defconfig | ||
18 | index 08f6a18..0c8bc66 100644 | ||
19 | --- a/arch/arm/configs/imx28evk_defconfig | ||
20 | +++ b/arch/arm/configs/imx28evk_defconfig | ||
21 | @@ -18,7 +18,6 @@ CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
22 | CONFIG_HARDIRQS_SW_RESEND=y | ||
23 | CONFIG_GENERIC_IRQ_PROBE=y | ||
24 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
25 | -CONFIG_ARCH_HAS_CPUFREQ=y | ||
26 | CONFIG_GENERIC_HWEIGHT=y | ||
27 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
28 | CONFIG_ZONE_DMA=y | ||
29 | diff --git a/arch/arm/plat-mxs/Kconfig b/arch/arm/plat-mxs/Kconfig | ||
30 | index 831a24b..63768f8 100644 | ||
31 | --- a/arch/arm/plat-mxs/Kconfig | ||
32 | +++ b/arch/arm/plat-mxs/Kconfig | ||
33 | @@ -13,7 +13,6 @@ config ARCH_MX28 | ||
34 | select MXS_ICOLL | ||
35 | select MXS_DMA_ENGINE | ||
36 | select MXS_AUART_DMA_SUPPORT | ||
37 | - select ARCH_HAS_CPUFREQ | ||
38 | ---help--- | ||
39 | Support Freescale MX28 chips | ||
40 | |||
41 | @@ -25,7 +24,6 @@ config ARCH_MX23 | ||
42 | select MXS_ICOLL | ||
43 | select MXS_DMA_ENGINE | ||
44 | select MXS_AUART_DMA_SUPPORT | ||
45 | - select ARCH_HAS_CPUFREQ | ||
46 | ---help--- | ||
47 | Support Freescale MX23 chips | ||
48 | |||
49 | diff --git a/arch/arm/plat-mxs/clock.c b/arch/arm/plat-mxs/clock.c | ||
50 | index 1b98b1e..3ce7953 100644 | ||
51 | --- a/arch/arm/plat-mxs/clock.c | ||
52 | +++ b/arch/arm/plat-mxs/clock.c | ||
53 | @@ -119,11 +119,6 @@ int clk_enable(struct clk *clk) | ||
54 | |||
55 | ret = __clk_enable(clk); | ||
56 | spin_unlock_irqrestore(&clockfw_lock, flags); | ||
57 | - if ((clk->flags & CPU_FREQ_TRIG_UPDATE) | ||
58 | - && (pre_usage == 0)) { | ||
59 | - cpufreq_trig_needed = 1; | ||
60 | - cpufreq_update_policy(0); | ||
61 | - } | ||
62 | return ret; | ||
63 | } | ||
64 | EXPORT_SYMBOL(clk_enable); | ||
65 | @@ -139,11 +134,6 @@ void clk_disable(struct clk *clk) | ||
66 | spin_lock_irqsave(&clockfw_lock, flags); | ||
67 | __clk_disable(clk); | ||
68 | spin_unlock_irqrestore(&clockfw_lock, flags); | ||
69 | - if ((clk->flags & CPU_FREQ_TRIG_UPDATE) | ||
70 | - && ((clk->ref & CLK_EN_MASK) == 0)) { | ||
71 | - cpufreq_trig_needed = 1; | ||
72 | - cpufreq_update_policy(0); | ||
73 | - } | ||
74 | } | ||
75 | EXPORT_SYMBOL(clk_disable); | ||
76 | |||
77 | -- | ||
78 | 1.7.1 | ||
79 | |||