summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/cpu_op-mx51.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-01-24 02:50:30 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-24 02:50:30 +0400
commiteaed435a7b870a38d89dbdb535c7842d618d3214 (patch)
tree75c2d90c7c1fa937fc83027699fad1455644df8e /arch/arm/mach-imx/cpu_op-mx51.c
parenta99cbf6b43a7b3b15f6139b2d9ac4ecceccd3c99 (diff)
parent3f07f355704bc2ae26399f17c6d5d46c9a3d78d1 (diff)
downloadlinux-eaed435a7b870a38d89dbdb535c7842d618d3214.tar.xz
Merge tag 'arm-soc-imx-move' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Consolidate i.MX 5 platforms to be under the new shared i.MX 3/5/6 tree. * tag 'arm-soc-imx-move' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: ARM i.MX: Update defconfig ARM i.MX: Merge i.MX5 support into mach-imx ARM i.MX5: remove unnecessary includes from board files Fix up fairly trivial conflicts due to various changes nearby in arch/arm/{mach,plat}-imx/{Kconfig,Makefile} Pull request had been sent to the wrong email address, but happened before the merge window closed. I'm merging the MX 5 consolidation, since it apparently will help the next development window and will avoid conflicts later as per Arnd.
Diffstat (limited to 'arch/arm/mach-imx/cpu_op-mx51.c')
-rw-r--r--arch/arm/mach-imx/cpu_op-mx51.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/cpu_op-mx51.c b/arch/arm/mach-imx/cpu_op-mx51.c
new file mode 100644
index 000000000000..9d34c3d4c024
--- /dev/null
+++ b/arch/arm/mach-imx/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;
+}