mirror of
https://github.com/torvalds/linux.git
synced 2024-11-20 11:01:38 +00:00
50f2de6126
It moves a bunch of header files included in hardware.h and itself from mach-imx/include/mach to mach-imx, and updates users to include hardware.h rather than mach/hardware.h. The files in mach-imx/devices will need to include "../hardware.h". Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Arnd Bergmann <arnd@arndb.de>
32 lines
671 B
C
32 lines
671 B
C
/*
|
|
* 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;
|
|
}
|