OMAP: Improve register access in L3 Error handler.
authorTodd Poynor <toddpoynor@google.com>
Wed, 24 Aug 2011 13:41:39 +0000 (19:11 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Sat, 24 Sep 2011 07:58:56 +0000 (13:28 +0530)
commit342fd144292a6b64ea869e4052eb250486c8f326
tree31d565b230763b63eb35238899d2d24dd3b4fe87
parentb6fd41e29dea9c6753b1843a77e50433e6123bcb
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>
arch/arm/mach-omap2/omap_l3_noc.c
arch/arm/mach-omap2/omap_l3_noc.h
arch/arm/mach-omap2/omap_l3_smx.c
arch/arm/mach-omap2/omap_l3_smx.h