summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/cpu_op-mx51.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-10-28 21:39:13 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-10-28 21:39:13 +0200
commit9bafc74163d8bccca9810159aab39be926fb877c (patch)
treebaa3ba406135247eeb9cdf495448b5db8eea2f0b /arch/arm/mach-mx5/cpu_op-mx51.c
parentARM: memblock: setup lowmem mappings using memblock (diff)
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/lethal/genesis-2.6 into dev... (diff)
downloadlinux-9bafc74163d8bccca9810159aab39be926fb877c.tar.xz
linux-9bafc74163d8bccca9810159aab39be926fb877c.zip
Merge branch 'devel-stable' into devel
Diffstat (limited to 'arch/arm/mach-mx5/cpu_op-mx51.c')
-rw-r--r--arch/arm/mach-mx5/cpu_op-mx51.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/cpu_op-mx51.c b/arch/arm/mach-mx5/cpu_op-mx51.c
new file mode 100644
index 000000000000..9d34c3d4c024
--- /dev/null
+++ b/arch/arm/mach-mx5/cpu_op-mx51.c
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
+ */
+
+/*
+ * The code contained herein is licensed under the GNU General Public
+ * License. You may obtain a copy of the GNU General Public License
+ * Version 2 or later at the following locations:
+ *
+ * http://www.opensource.org/licenses/gpl-license.html
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+#include <linux/types.h>
+#include <mach/hardware.h>
+#include <linux/kernel.h>
+
+static struct cpu_op mx51_cpu_op[] = {
+ {
+ .cpu_rate = 160000000,},
+ {
+ .cpu_rate = 800000000,},
+};
+
+struct cpu_op *mx51_get_cpu_op(int *op)
+{
+ *op = ARRAY_SIZE(mx51_cpu_op);
+ return mx51_cpu_op;
+}