summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap_l3_smx.h
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2011-08-24 13:41:39 (GMT)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2011-09-24 07:58:56 (GMT)
commit342fd144292a6b64ea869e4052eb250486c8f326 (patch)
tree31d565b230763b63eb35238899d2d24dd3b4fe87 /arch/arm/mach-omap2/omap_l3_smx.h
parentb6fd41e29dea9c6753b1843a77e50433e6123bcb (diff)
downloadlinux-fsl-qoriq-342fd144292a6b64ea869e4052eb250486c8f326.tar.xz
OMAP: Improve register access in L3 Error handler.
* Changed the way of accessing L3 target registers from standard base rather than relative to STDERRLOG_MAIN. * Use ffs() to find error source from the L3_FLAGMUX_REGERRn register. * Remove extra l3_base[] entry. * Modified L3 custom error message. Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: sricharan <r.sricharan@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_l3_smx.h')
-rw-r--r--arch/arm/mach-omap2/omap_l3_smx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_l3_smx.h b/arch/arm/mach-omap2/omap_l3_smx.h
index ba2ed9a..185d77a 100644
--- a/arch/arm/mach-omap2/omap_l3_smx.h
+++ b/arch/arm/mach-omap2/omap_l3_smx.h
@@ -40,7 +40,7 @@
#define L3_SI_CONTROL 0x020
#define L3_SI_FLAG_STATUS_0 0x510
-const u64 shift = 1;
+static const u64 shift = 1;
#define L3_STATUS_0_MPUIA_BRST (shift << 0)
#define L3_STATUS_0_MPUIA_RSP (shift << 1)