diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2016-06-22 15:43:22 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2017-01-18 14:35:10 -0800 |
commit | d4911cdd3270da45d3a1c55bf28e88a932bbba7b (patch) | |
tree | 6fc1514bb32dbaa0b27441857d973e5613b2227d /arch/arc/include/asm | |
parent | eb1357d942e5d96de6b4c20a8ffa55acf96233a2 (diff) | |
download | op-kernel-dev-d4911cdd3270da45d3a1c55bf28e88a932bbba7b.zip op-kernel-dev-d4911cdd3270da45d3a1c55bf28e88a932bbba7b.tar.gz |
ARCv2: IOC: refactor the IOC and SLC operations into own functions
- Move IOC setup into arc_ioc_setup()
- Move SLC disabling into arc_slc_disable()
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm')
-rw-r--r-- | arch/arc/include/asm/cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/include/asm/cache.h b/arch/arc/include/asm/cache.h index b3410ff..5f924a1 100644 --- a/arch/arc/include/asm/cache.h +++ b/arch/arc/include/asm/cache.h @@ -92,8 +92,8 @@ extern unsigned long perip_base, perip_end; #define ARC_REG_SLC_RGN_END 0x916 /* Bit val in SLC_CONTROL */ +#define SLC_CTRL_DIS 0x001 #define SLC_CTRL_IM 0x040 -#define SLC_CTRL_DISABLE 0x001 #define SLC_CTRL_BUSY 0x100 #define SLC_CTRL_RGN_OP_INV 0x200 |