diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 19:09:44 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 19:09:44 -0400 |
commit | f15cbe6f1a4b4d9df59142fc8e4abb973302cf44 (patch) | |
tree | 774d7b11abaaf33561ab8268bf51ddd9ceb79025 /include/asm-sh/cpu-sh2a | |
parent | 25326277d8d1393d1c66240e6255aca780f9e3eb (diff) |
sh: migrate to arch/sh/include/
This follows the sparc changes a439fe51a1f8eb087c22dd24d69cebae4a3addac.
Most of the moving about was done with Sam's directions at:
http://marc.info/?l=linux-sh&m=121724823706062&w=2
with subsequent hacking and fixups entirely my fault.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/cpu-sh2a')
-rw-r--r-- | include/asm-sh/cpu-sh2a/addrspace.h | 10 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh2a/cache.h | 40 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh2a/cacheflush.h | 1 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh2a/dma.h | 1 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh2a/freq.h | 16 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh2a/mmu_context.h | 1 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh2a/rtc.h | 8 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh2a/timer.h | 1 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh2a/ubc.h | 1 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh2a/watchdog.h | 1 |
10 files changed, 0 insertions, 80 deletions
diff --git a/include/asm-sh/cpu-sh2a/addrspace.h b/include/asm-sh/cpu-sh2a/addrspace.h deleted file mode 100644 index 795ddd6856a3..000000000000 --- a/include/asm-sh/cpu-sh2a/addrspace.h +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #ifndef __ASM_SH_CPU_SH2A_ADDRSPACE_H | ||
2 | #define __ASM_SH_CPU_SH2A_ADDRSPACE_H | ||
3 | |||
4 | #define P0SEG 0x00000000 | ||
5 | #define P1SEG 0x00000000 | ||
6 | #define P2SEG 0x20000000 | ||
7 | #define P3SEG 0x00000000 | ||
8 | #define P4SEG 0x80000000 | ||
9 | |||
10 | #endif /* __ASM_SH_CPU_SH2A_ADDRSPACE_H */ | ||
diff --git a/include/asm-sh/cpu-sh2a/cache.h b/include/asm-sh/cpu-sh2a/cache.h deleted file mode 100644 index afe228b3f493..000000000000 --- a/include/asm-sh/cpu-sh2a/cache.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* | ||
2 | * include/asm-sh/cpu-sh2a/cache.h | ||
3 | * | ||
4 | * Copyright (C) 2004 Paul Mundt | ||
5 | * | ||
6 | * This file is subject to the terms and conditions of the GNU General Public | ||
7 | * License. See the file "COPYING" in the main directory of this archive | ||
8 | * for more details. | ||
9 | */ | ||
10 | #ifndef __ASM_CPU_SH2A_CACHE_H | ||
11 | #define __ASM_CPU_SH2A_CACHE_H | ||
12 | |||
13 | #define L1_CACHE_SHIFT 4 | ||
14 | |||
15 | #define SH_CACHE_VALID 1 | ||
16 | #define SH_CACHE_UPDATED 2 | ||
17 | #define SH_CACHE_COMBINED 4 | ||
18 | #define SH_CACHE_ASSOC 8 | ||
19 | |||
20 | #define CCR 0xfffc1000 /* CCR1 */ | ||
21 | #define CCR2 0xfffc1004 | ||
22 | |||
23 | /* | ||
24 | * Most of the SH-2A CCR1 definitions resemble the SH-4 ones. All others not | ||
25 | * listed here are reserved. | ||
26 | */ | ||
27 | #define CCR_CACHE_CB 0x0000 /* Hack */ | ||
28 | #define CCR_CACHE_OCE 0x0001 | ||
29 | #define CCR_CACHE_WT 0x0002 | ||
30 | #define CCR_CACHE_OCI 0x0008 /* OCF */ | ||
31 | #define CCR_CACHE_ICE 0x0100 | ||
32 | #define CCR_CACHE_ICI 0x0800 /* ICF */ | ||
33 | |||
34 | #define CACHE_IC_ADDRESS_ARRAY 0xf0000000 | ||
35 | #define CACHE_OC_ADDRESS_ARRAY 0xf0800000 | ||
36 | |||
37 | #define CCR_CACHE_ENABLE (CCR_CACHE_OCE | CCR_CACHE_ICE) | ||
38 | #define CCR_CACHE_INVALIDATE (CCR_CACHE_OCI | CCR_CACHE_ICI) | ||
39 | |||
40 | #endif /* __ASM_CPU_SH2A_CACHE_H */ | ||
diff --git a/include/asm-sh/cpu-sh2a/cacheflush.h b/include/asm-sh/cpu-sh2a/cacheflush.h deleted file mode 100644 index fa3186c73350..000000000000 --- a/include/asm-sh/cpu-sh2a/cacheflush.h +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include <asm/cpu-sh2/cacheflush.h> | ||
diff --git a/include/asm-sh/cpu-sh2a/dma.h b/include/asm-sh/cpu-sh2a/dma.h deleted file mode 100644 index 0d5ad85c1de8..000000000000 --- a/include/asm-sh/cpu-sh2a/dma.h +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include <asm/cpu-sh2/dma.h> | ||
diff --git a/include/asm-sh/cpu-sh2a/freq.h b/include/asm-sh/cpu-sh2a/freq.h deleted file mode 100644 index 830fd43b6cdc..000000000000 --- a/include/asm-sh/cpu-sh2a/freq.h +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | /* | ||
2 | * include/asm-sh/cpu-sh2a/freq.h | ||
3 | * | ||
4 | * Copyright (C) 2006 Yoshinori Sato | ||
5 | * | ||
6 | * This file is subject to the terms and conditions of the GNU General Public | ||
7 | * License. See the file "COPYING" in the main directory of this archive | ||
8 | * for more details. | ||
9 | */ | ||
10 | #ifndef __ASM_CPU_SH2A_FREQ_H | ||
11 | #define __ASM_CPU_SH2A_FREQ_H | ||
12 | |||
13 | #define FREQCR 0xfffe0010 | ||
14 | |||
15 | #endif /* __ASM_CPU_SH2A_FREQ_H */ | ||
16 | |||
diff --git a/include/asm-sh/cpu-sh2a/mmu_context.h b/include/asm-sh/cpu-sh2a/mmu_context.h deleted file mode 100644 index cd2387f7db9e..000000000000 --- a/include/asm-sh/cpu-sh2a/mmu_context.h +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include <asm/cpu-sh2/mmu_context.h> | ||
diff --git a/include/asm-sh/cpu-sh2a/rtc.h b/include/asm-sh/cpu-sh2a/rtc.h deleted file mode 100644 index afb511e2bed7..000000000000 --- a/include/asm-sh/cpu-sh2a/rtc.h +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | #ifndef __ASM_SH_CPU_SH2A_RTC_H | ||
2 | #define __ASM_SH_CPU_SH2A_RTC_H | ||
3 | |||
4 | #define rtc_reg_size sizeof(u16) | ||
5 | #define RTC_BIT_INVERTED 0 | ||
6 | #define RTC_DEF_CAPABILITIES RTC_CAP_4_DIGIT_YEAR | ||
7 | |||
8 | #endif /* __ASM_SH_CPU_SH2A_RTC_H */ | ||
diff --git a/include/asm-sh/cpu-sh2a/timer.h b/include/asm-sh/cpu-sh2a/timer.h deleted file mode 100644 index fee504adf11e..000000000000 --- a/include/asm-sh/cpu-sh2a/timer.h +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include <asm/cpu-sh2/timer.h> | ||
diff --git a/include/asm-sh/cpu-sh2a/ubc.h b/include/asm-sh/cpu-sh2a/ubc.h deleted file mode 100644 index cf28062b96a2..000000000000 --- a/include/asm-sh/cpu-sh2a/ubc.h +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include <asm/cpu-sh2/ubc.h> | ||
diff --git a/include/asm-sh/cpu-sh2a/watchdog.h b/include/asm-sh/cpu-sh2a/watchdog.h deleted file mode 100644 index c1b3e2488478..000000000000 --- a/include/asm-sh/cpu-sh2a/watchdog.h +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include <asm/cpu-sh2/watchdog.h> | ||