2010-10-21 13:18:59 +00:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2012-01-20 23:35:53 +00:00
|
|
|
#include <linux/bug.h>
|
2010-10-21 13:18:59 +00:00
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
|
2012-09-14 06:14:45 +00:00
|
|
|
#include "hardware.h"
|
|
|
|
|
2010-10-21 13:18:59 +00:00
|
|
|
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;
|
|
|
|
}
|