diff options
author | Kieran Bingham <kieranbingham@gmail.com> | 2009-05-08 10:49:50 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-08 11:09:21 -0400 |
commit | e73173dbe55e5b4c2306728aad50c8e42194f6d5 (patch) | |
tree | 3c9eb779f1d376b2bff8d5482717260d26f9981d /arch/sh/include/asm | |
parent | be6514c6295cc79498eeb9a8f933451082ca9e69 (diff) |
sh: Fix UBC setup and registers for SH2A
Signed-off-by: Kieran Bingham <kieranbingham@gmail.com>
Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm')
-rw-r--r-- | arch/sh/include/asm/ubc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sh/include/asm/ubc.h b/arch/sh/include/asm/ubc.h index a7b9028bbfbb..4ca4b7717371 100644 --- a/arch/sh/include/asm/ubc.h +++ b/arch/sh/include/asm/ubc.h | |||
@@ -42,12 +42,23 @@ | |||
42 | 42 | ||
43 | #define BRCR_CMFA (1 << 15) | 43 | #define BRCR_CMFA (1 << 15) |
44 | #define BRCR_CMFB (1 << 14) | 44 | #define BRCR_CMFB (1 << 14) |
45 | |||
46 | #if defined CONFIG_CPU_SH2A | ||
47 | #define BRCR_CMFCA (1 << 15) | ||
48 | #define BRCR_CMFCB (1 << 14) | ||
49 | #define BRCR_CMFDA (1 << 13) | ||
50 | #define BRCR_CMFDB (1 << 12) | ||
51 | #define BRCR_PCBB (1 << 6) /* 1: after execution */ | ||
52 | #define BRCR_PCBA (1 << 5) /* 1: after execution */ | ||
53 | #define BRCR_PCTE 0 | ||
54 | #else | ||
45 | #define BRCR_PCTE (1 << 11) | 55 | #define BRCR_PCTE (1 << 11) |
46 | #define BRCR_PCBA (1 << 10) /* 1: after execution */ | 56 | #define BRCR_PCBA (1 << 10) /* 1: after execution */ |
47 | #define BRCR_DBEB (1 << 7) | 57 | #define BRCR_DBEB (1 << 7) |
48 | #define BRCR_PCBB (1 << 6) | 58 | #define BRCR_PCBB (1 << 6) |
49 | #define BRCR_SEQ (1 << 3) | 59 | #define BRCR_SEQ (1 << 3) |
50 | #define BRCR_UBDE (1 << 0) | 60 | #define BRCR_UBDE (1 << 0) |
61 | #endif | ||
51 | 62 | ||
52 | #ifndef __ASSEMBLY__ | 63 | #ifndef __ASSEMBLY__ |
53 | /* arch/sh/kernel/cpu/ubc.S */ | 64 | /* arch/sh/kernel/cpu/ubc.S */ |