diff options
author | Alexey Brodkin <abrodkin@synopsys.com> | 2015-02-03 13:58:12 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2015-02-09 16:41:20 +0300 |
commit | 5ff40f3d4226d45c78f3bb9db276f6685b24a89a (patch) | |
tree | 81130e1aa3f26a3f7ee5c66b81acd1fca1bf29f6 /arch/arc/include/asm/arcregs.h | |
parent | 812980bdd6c9112014f3946d1cb2728a2121ba34 (diff) | |
download | u-boot-5ff40f3d4226d45c78f3bb9db276f6685b24a89a.tar.gz u-boot-5ff40f3d4226d45c78f3bb9db276f6685b24a89a.tar.xz u-boot-5ff40f3d4226d45c78f3bb9db276f6685b24a89a.zip |
arc: define and use PTAG AUX regs for MMUv3 only
DC_PTAG and IC_PTAG registers only exist in MMUv3.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/arcregs.h')
-rw-r--r-- | arch/arc/include/asm/arcregs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/include/asm/arcregs.h b/arch/arc/include/asm/arcregs.h index 31627e65b9..6a36a81c0f 100644 --- a/arch/arc/include/asm/arcregs.h +++ b/arch/arc/include/asm/arcregs.h @@ -23,7 +23,7 @@ #define ARC_AUX_IC_IVIC 0x10 #define ARC_AUX_IC_CTRL 0x11 #define ARC_AUX_IC_IVIL 0x19 -#if (CONFIG_ARC_MMU_VER > 2) +#if (CONFIG_ARC_MMU_VER == 3) #define ARC_AUX_IC_PTAG 0x1E #endif #define ARC_BCR_IC_BUILD 0x77 @@ -42,7 +42,7 @@ #define ARC_AUX_DC_IVDL 0x4A #define ARC_AUX_DC_FLSH 0x4B #define ARC_AUX_DC_FLDL 0x4C -#if (CONFIG_ARC_MMU_VER > 2) +#if (CONFIG_ARC_MMU_VER == 3) #define ARC_AUX_DC_PTAG 0x5C #endif #define ARC_BCR_DC_BUILD 0x72 |