Skip to content

Commit

Permalink
sparc32,leon: move leon ASI definitions to asi.h
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Ravnborg <[email protected]>
Cc: Konrad Eisele <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
sravnborg authored and davem330 committed May 20, 2012
1 parent c64d752 commit 28b7723
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
14 changes: 14 additions & 0 deletions arch/sparc/include/asm/asi.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,20 @@

#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. */
#define ASI_N 0x04 /* Nucleus */
#define ASI_NL 0x0c /* Nucleus, little endian */
Expand Down
13 changes: 0 additions & 13 deletions arch/sparc/include/asm/leon.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@

#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 */
#define LEON_CNR_CTRL 0x000
#define LEON_CNR_CTXP 0x100
Expand Down

0 comments on commit 28b7723

Please sign in to comment.