aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/cpu_op-mx51.c
blob: b9ef692b61a292bb75837a434edaacbd25b9c80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * 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/bug.h>
#include <linux/types.h>
#include <linux/kernel.h>

#include "hardware.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;
}