diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-v850/v850e2.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-v850/v850e2.h')
-rw-r--r-- | include/asm-v850/v850e2.h | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/include/asm-v850/v850e2.h b/include/asm-v850/v850e2.h new file mode 100644 index 000000000000..48680408ab7e --- /dev/null +++ b/include/asm-v850/v850e2.h | |||
@@ -0,0 +1,69 @@ | |||
1 | /* | ||
2 | * include/asm-v850/v850e2.h -- Machine-dependent defs for V850E2 CPUs | ||
3 | * | ||
4 | * Copyright (C) 2002,03 NEC Electronics Corporation | ||
5 | * Copyright (C) 2002,03 Miles Bader <miles@gnu.org> | ||
6 | * | ||
7 | * This file is subject to the terms and conditions of the GNU General | ||
8 | * Public License. See the file COPYING in the main directory of this | ||
9 | * archive for more details. | ||
10 | * | ||
11 | * Written by Miles Bader <miles@gnu.org> | ||
12 | */ | ||
13 | |||
14 | #ifndef __V850_V850E2_H__ | ||
15 | #define __V850_V850E2_H__ | ||
16 | |||
17 | #include <asm/v850e_intc.h> /* v850e-style interrupt system. */ | ||
18 | |||
19 | |||
20 | #define CPU_ARCH "v850e2" | ||
21 | |||
22 | |||
23 | /* Control registers. */ | ||
24 | |||
25 | /* Chip area select control */ | ||
26 | #define V850E2_CSC_ADDR(n) (0xFFFFF060 + (n) * 2) | ||
27 | #define V850E2_CSC(n) (*(volatile u16 *)V850E2_CSC_ADDR(n)) | ||
28 | /* I/O area select control */ | ||
29 | #define V850E2_BPC_ADDR 0xFFFFF064 | ||
30 | #define V850E2_BPC (*(volatile u16 *)V850E2_BPC_ADDR) | ||
31 | /* Bus size configuration */ | ||
32 | #define V850E2_BSC_ADDR 0xFFFFF066 | ||
33 | #define V850E2_BSC (*(volatile u16 *)V850E2_BSC_ADDR) | ||
34 | /* Endian configuration */ | ||
35 | #define V850E2_BEC_ADDR 0xFFFFF068 | ||
36 | #define V850E2_BEC (*(volatile u16 *)V850E2_BEC_ADDR) | ||
37 | /* Cache configuration */ | ||
38 | #define V850E2_BHC_ADDR 0xFFFFF06A | ||
39 | #define V850E2_BHC (*(volatile u16 *)V850E2_BHC_ADDR) | ||
40 | /* NPB strobe-wait configuration */ | ||
41 | #define V850E2_VSWC_ADDR 0xFFFFF06E | ||
42 | #define V850E2_VSWC (*(volatile u16 *)V850E2_VSWC_ADDR) | ||
43 | /* Bus cycle type */ | ||
44 | #define V850E2_BCT_ADDR(n) (0xFFFFF480 + (n) * 2) | ||
45 | #define V850E2_BCT(n) (*(volatile u16 *)V850E2_BCT_ADDR(n)) | ||
46 | /* Data wait control */ | ||
47 | #define V850E2_DWC_ADDR(n) (0xFFFFF484 + (n) * 2) | ||
48 | #define V850E2_DWC(n) (*(volatile u16 *)V850E2_DWC_ADDR(n)) | ||
49 | /* Bus cycle control */ | ||
50 | #define V850E2_BCC_ADDR 0xFFFFF488 | ||
51 | #define V850E2_BCC (*(volatile u16 *)V850E2_BCC_ADDR) | ||
52 | /* Address wait control */ | ||
53 | #define V850E2_ASC_ADDR 0xFFFFF48A | ||
54 | #define V850E2_ASC (*(volatile u16 *)V850E2_ASC_ADDR) | ||
55 | /* Local bus sizing control */ | ||
56 | #define V850E2_LBS_ADDR 0xFFFFF48E | ||
57 | #define V850E2_LBS (*(volatile u16 *)V850E2_LBS_ADDR) | ||
58 | /* Line buffer control */ | ||
59 | #define V850E2_LBC_ADDR(n) (0xFFFFF490 + (n) * 2) | ||
60 | #define V850E2_LBC(n) (*(volatile u16 *)V850E2_LBC_ADDR(n)) | ||
61 | /* SDRAM configuration */ | ||
62 | #define V850E2_SCR_ADDR(n) (0xFFFFF4A0 + (n) * 4) | ||
63 | #define V850E2_SCR(n) (*(volatile u16 *)V850E2_SCR_ADDR(n)) | ||
64 | /* SDRAM refresh cycle control */ | ||
65 | #define V850E2_RFS_ADDR(n) (0xFFFFF4A2 + (n) * 4) | ||
66 | #define V850E2_RFS(n) (*(volatile u16 *)V850E2_RFS_ADDR(n)) | ||
67 | |||
68 | |||
69 | #endif /* __V850_V850E2_H__ */ | ||