aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-19 16:02:46 -0400
committerDavid S. Miller <davem@davemloft.net>2012-05-20 02:27:36 -0400
commit28b7723b3958818ad936a9d5d5579ce537df340f (patch)
tree000fcc01463e1d327fc7e047e5eb9a7caa281073 /arch/sparc/include
parentc64d7524b513823087bf024d150d1d7f6b7bd35f (diff)
sparc32,leon: move leon ASI definitions to asi.h
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Konrad Eisele <konrad@gaisler.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/asi.h14
-rw-r--r--arch/sparc/include/asm/leon.h13
2 files changed, 14 insertions, 13 deletions
diff --git a/arch/sparc/include/asm/asi.h b/arch/sparc/include/asm/asi.h
index b2e3db63a64b..cbb93e5141de 100644
--- a/arch/sparc/include/asm/asi.h
+++ b/arch/sparc/include/asm/asi.h
@@ -112,6 +112,20 @@
112 112
113#define ASI_M_ACTION 0x4c /* Breakpoint Action Register (GNU/Viking) */ 113#define ASI_M_ACTION 0x4c /* Breakpoint Action Register (GNU/Viking) */
114 114
115/* LEON ASI */
116#define ASI_LEON_NOCACHE 0x01
117
118#define ASI_LEON_DCACHE_MISS 0x01
119
120#define ASI_LEON_CACHEREGS 0x02
121#define ASI_LEON_IFLUSH 0x10
122#define ASI_LEON_DFLUSH 0x11
123
124#define ASI_LEON_MMUFLUSH 0x18
125#define ASI_LEON_MMUREGS 0x19
126#define ASI_LEON_BYPASS 0x1c
127#define ASI_LEON_FLUSH_PAGE 0x10
128
115/* V9 Architecture mandary ASIs. */ 129/* V9 Architecture mandary ASIs. */
116#define ASI_N 0x04 /* Nucleus */ 130#define ASI_N 0x04 /* Nucleus */
117#define ASI_NL 0x0c /* Nucleus, little endian */ 131#define ASI_NL 0x0c /* Nucleus, little endian */
diff --git a/arch/sparc/include/asm/leon.h b/arch/sparc/include/asm/leon.h
index 8095be271825..ce76f402b5bf 100644
--- a/arch/sparc/include/asm/leon.h
+++ b/arch/sparc/include/asm/leon.h
@@ -10,19 +10,6 @@
10 10
11#ifdef CONFIG_SPARC_LEON 11#ifdef CONFIG_SPARC_LEON
12 12
13#define ASI_LEON_NOCACHE 0x01
14
15#define ASI_LEON_DCACHE_MISS 0x1
16
17#define ASI_LEON_CACHEREGS 0x02
18#define ASI_LEON_IFLUSH 0x10
19#define ASI_LEON_DFLUSH 0x11
20
21#define ASI_LEON_MMUFLUSH 0x18
22#define ASI_LEON_MMUREGS 0x19
23#define ASI_LEON_BYPASS 0x1c
24#define ASI_LEON_FLUSH_PAGE 0x10
25
26/* mmu register access, ASI_LEON_MMUREGS */ 13/* mmu register access, ASI_LEON_MMUREGS */
27#define LEON_CNR_CTRL 0x000 14#define LEON_CNR_CTRL 0x000
28#define LEON_CNR_CTXP 0x100 15#define LEON_CNR_CTXP 0x100