提交 28b7723b 编写于 作者: S Sam Ravnborg 提交者: David S. Miller

sparc32,leon: move leon ASI definitions to asi.h

Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
Cc: Konrad Eisele <konrad@gaisler.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c64d7524
...@@ -112,6 +112,20 @@ ...@@ -112,6 +112,20 @@
#define ASI_M_ACTION 0x4c /* Breakpoint Action Register (GNU/Viking) */ #define ASI_M_ACTION 0x4c /* Breakpoint Action Register (GNU/Viking) */
/* LEON ASI */
#define ASI_LEON_NOCACHE 0x01
#define ASI_LEON_DCACHE_MISS 0x01
#define ASI_LEON_CACHEREGS 0x02
#define ASI_LEON_IFLUSH 0x10
#define ASI_LEON_DFLUSH 0x11
#define ASI_LEON_MMUFLUSH 0x18
#define ASI_LEON_MMUREGS 0x19
#define ASI_LEON_BYPASS 0x1c
#define ASI_LEON_FLUSH_PAGE 0x10
/* V9 Architecture mandary ASIs. */ /* V9 Architecture mandary ASIs. */
#define ASI_N 0x04 /* Nucleus */ #define ASI_N 0x04 /* Nucleus */
#define ASI_NL 0x0c /* Nucleus, little endian */ #define ASI_NL 0x0c /* Nucleus, little endian */
......
...@@ -10,19 +10,6 @@ ...@@ -10,19 +10,6 @@
#ifdef CONFIG_SPARC_LEON #ifdef CONFIG_SPARC_LEON
#define ASI_LEON_NOCACHE 0x01
#define ASI_LEON_DCACHE_MISS 0x1
#define ASI_LEON_CACHEREGS 0x02
#define ASI_LEON_IFLUSH 0x10
#define ASI_LEON_DFLUSH 0x11
#define ASI_LEON_MMUFLUSH 0x18
#define ASI_LEON_MMUREGS 0x19
#define ASI_LEON_BYPASS 0x1c
#define ASI_LEON_FLUSH_PAGE 0x10
/* mmu register access, ASI_LEON_MMUREGS */ /* mmu register access, ASI_LEON_MMUREGS */
#define LEON_CNR_CTRL 0x000 #define LEON_CNR_CTRL 0x000
#define LEON_CNR_CTXP 0x100 #define LEON_CNR_CTXP 0x100
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册