blob: 7b92cd6da6d3f1ae8330f75dcf4b879c7f492ec5 [file] [log] [blame]
Yong Shen64f102b2010-10-21 21:18:59 +08001/*
2 * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
3 */
4
5/*
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
9 *
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
12 */
13
Paul Gortmaker50af5ea2012-01-20 18:35:53 -050014#include <linux/bug.h>
Yong Shen64f102b2010-10-21 21:18:59 +080015#include <linux/types.h>
16#include <mach/hardware.h>
17#include <linux/kernel.h>
18
19static struct cpu_op mx51_cpu_op[] = {
20 {
21 .cpu_rate = 160000000,},
22 {
23 .cpu_rate = 800000000,},
24};
25
26struct cpu_op *mx51_get_cpu_op(int *op)
27{
28 *op = ARRAY_SIZE(mx51_cpu_op);
29 return mx51_cpu_op;
30}