Commit | Line | Data |
---|---|---|
64f102b6 YS |
1 | /* |
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 | ||
50af5ead | 14 | #include <linux/bug.h> |
64f102b6 | 15 | #include <linux/types.h> |
64f102b6 YS |
16 | #include <linux/kernel.h> |
17 | ||
50f2de61 SG |
18 | #include "hardware.h" |
19 | ||
64f102b6 YS |
20 | static struct cpu_op mx51_cpu_op[] = { |
21 | { | |
22 | .cpu_rate = 160000000,}, | |
23 | { | |
24 | .cpu_rate = 800000000,}, | |
25 | }; | |
26 | ||
27 | struct cpu_op *mx51_get_cpu_op(int *op) | |
28 | { | |
29 | *op = ARRAY_SIZE(mx51_cpu_op); | |
30 | return mx51_cpu_op; | |
31 | } |