diff options
author | Nishanth Menon <nm@ti.com> | 2014-04-11 12:24:56 -0500 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2014-05-05 14:33:52 -0500 |
commit | c98aa7aaa24b7687a170b93c4bf3111a6d166069 (patch) | |
tree | 34d930842a5909ea1e728799555ac2b0e1b06844 /drivers/bus/omap_l3_noc.h | |
parent | d4d8819e205854cc102e366f30b8eadd60a58e97 (diff) | |
download | op-kernel-dev-c98aa7aaa24b7687a170b93c4bf3111a6d166069.zip op-kernel-dev-c98aa7aaa24b7687a170b93c4bf3111a6d166069.tar.gz |
bus: omap_l3_noc: make error reporting and handling common
The logic between handling CUSTOM_ERROR and STANDARD_ERROR is just the
reporting style.
So make it generic, simplify and standardize the reporting with both
master and target information printed to log.
Handle the register address difference for master code for standard
error and custom error as well.
While at it, fix a minor indentation error.
Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'drivers/bus/omap_l3_noc.h')
-rw-r--r-- | drivers/bus/omap_l3_noc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bus/omap_l3_noc.h b/drivers/bus/omap_l3_noc.h index ba86924..ea2f51c 100644 --- a/drivers/bus/omap_l3_noc.h +++ b/drivers/bus/omap_l3_noc.h @@ -29,8 +29,9 @@ /* L3 TARG register offsets */ #define L3_TARG_STDERRLOG_MAIN 0x48 +#define L3_TARG_STDERRLOG_MSTADDR 0x50 #define L3_TARG_STDERRLOG_SLVOFSLSB 0x5c -#define L3_TARG_STDERRLOG_MSTADDR 0x68 +#define L3_TARG_STDERRLOG_CINFO_MSTADDR 0x68 #define L3_FLAGMUX_REGERR0 0xc #define L3_FLAGMUX_MASK0 0x8 |