MIPS: CM: Add CM GCR_BEV_BASE accessors
authorPaul Burton <paul.burton@imgtec.com>
Wed, 3 Feb 2016 03:15:25 +0000 (03:15 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:48 +0000 (14:01 +0200)
Generate accessor functions for the GCR_BEV_BASE register introduced by
CM3, for use by a later patch.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12331/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips-cm.h

index 4ac8e4b69fb5cb71f1bd7ce12545455750340bc1..b79433f19b772f14575690e2814412b256417666 100644 (file)
@@ -208,6 +208,7 @@ BUILD_CM_RW(l2_config,              MIPS_CM_GCB_OFS + 0x130)
 BUILD_CM_RW(sys_config2,       MIPS_CM_GCB_OFS + 0x150)
 BUILD_CM_RW(l2_pft_control,    MIPS_CM_GCB_OFS + 0x300)
 BUILD_CM_RW(l2_pft_control_b,  MIPS_CM_GCB_OFS + 0x308)
+BUILD_CM_RW(bev_base,          MIPS_CM_GCB_OFS + 0x680)
 
 /* Core Local & Core Other register accessor functions */
 BUILD_CM_Cx_RW(reset_release,  0x00)