summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx27/cpu.c
blob: 5c8909f68916cc77e8b0ede58f4cee70c08a5a7b (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
32
33
/*
 *  Copyright (C) 2001 Deep Blue Solutions Ltd.
 *  Copyright 2007 Freescale Semiconductor, Inc. All Rights Reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 */

/*!
 * @file mach-mx27/cpu.c
 *
 * @brief This file contains the CPU initialization code.
 *
 * @ingroup MSL_MX27
 */

#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <asm/hardware.h>

/*!
 * CPU initialization. It is called by fixup_mxc_board()
 */
void __init mxc_cpu_init(void)
{
	if (!system_rev) {
		mxc_set_system_rev(0x27, CHIP_REV_2_0);
	}
}