ARM: Add L2X0 PREFETCH and POWER control register
authorKyungmin Park <kyungmin.park@samsung.com>
Thu, 21 Oct 2010 06:21:02 +0000 (15:21 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 25 Oct 2010 07:11:01 +0000 (16:11 +0900)
This patch adds L2X0 Prefetch and Power control register.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/include/asm/hardware/cache-l2x0.h

index 6bcba48800fe55224e81d4b9f426b43e8494cdef..351ca8d02aa718fc676408f4d38748c7082809f1 100644 (file)
 #define L2X0_LINE_DATA                 0xF10
 #define L2X0_LINE_TAG                  0xF30
 #define L2X0_DEBUG_CTRL                        0xF40
+#define L2X0_PREFETCH_CTRL             0xF60
+#define L2X0_POWER_CTRL                        0xF80
+#define   L2X0_DYNAMIC_CLK_GATING_EN   (1 << 1)
+#define   L2X0_STNDBY_MODE_EN          (1 << 0)
 
 #ifndef __ASSEMBLY__
 extern void __init l2x0_init(void __iomem *base, __u32 aux_val, __u32 aux_mask);