Initial checkin
[pandora-x-loader.git] / cpu / omap3 / cpu.c
1 /*
2  * (C) Copyright 2004-2006 Texas Insturments
3  *
4  * (C) Copyright 2002
5  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
6  * Marius Groeger <mgroeger@sysgo.de>
7  *
8  * (C) Copyright 2002
9  * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
10  *
11  * See file CREDITS for list of people who contributed to this
12  * project.
13  *
14  * This program is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU General Public License as
16  * published by the Free Software Foundation; either version 2 of
17  * the License, or (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, write to the Free Software
26  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
27  * MA 02111-1307 USA
28  */
29
30 /*
31  * CPU specific code
32  */
33 #include <common.h>
34
35 /* See also ARM Ref. Man. */
36 #define C1_MMU          (1<<0)          /* mmu off/on */
37 #define C1_ALIGN        (1<<1)          /* alignment faults off/on */
38 #define C1_DC           (1<<2)          /* dcache off/on */
39 #define C1_WB           (1<<3)          /* merging write buffer on/off */
40 #define C1_BIG_ENDIAN   (1<<7)  /* big endian off/on */
41 #define C1_SYS_PROT     (1<<8)          /* system protection */
42 #define C1_ROM_PROT     (1<<9)          /* ROM protection */
43 #define C1_IC           (1<<12)         /* icache off/on */
44 #define C1_HIGH_VECTORS (1<<13) /* location of vectors: low/high addresses */
45 #define RESERVED_1      (0xf << 3)      /* must be 111b for R/W */
46
47 int cpu_init (void)
48 {
49         return 0;
50 }
51