1 From 359104632fa556e3c5c78e4016c2585896225716 Mon Sep 17 00:00:00 2001
2 From: Robert Nelson <robertcnelson@gmail.com>
3 Date: Mon, 1 Apr 2013 12:17:50 -0500
4 Subject: [PATCH 4/4] HACK: PandaES: disable cpufreq so board will boot
6 Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
8 drivers/cpufreq/omap-cpufreq.c | 7 +++++++
9 1 file changed, 7 insertions(+)
11 diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c
12 index 0279d18..0a8ac09 100644
13 --- a/drivers/cpufreq/omap-cpufreq.c
14 +++ b/drivers/cpufreq/omap-cpufreq.c
16 #include <asm/smp_plat.h>
19 +#include "../../arch/arm/mach-omap2/soc.h"
21 /* OPP tolerance in percentage */
22 #define OPP_TOLERANCE 4
24 @@ -246,6 +248,11 @@ static struct cpufreq_driver omap_driver = {
26 static int omap_cpufreq_probe(struct platform_device *pdev)
28 + if (cpu_is_omap446x()) {
29 + pr_err("%s: unsupported Silicon?\n", __func__);
33 mpu_dev = get_cpu_device(0);
35 pr_warning("%s: unable to get the mpu device\n", __func__);