diff options
author | zachary <zhangzg@marvell.com> | 2017-04-10 15:57:08 +0800 |
---|---|---|
committer | Hua Jing <jinghua@marvell.com> | 2017-04-24 04:52:11 +0300 |
commit | 79c984bd020dfbe8a15f223d8d624c49726ab9a6 (patch) | |
tree | 030cc11b7b9e566a5977ffebfb0d405744b97032 | |
parent | ce4b8be9cc6b3c6ef16191c88f1717d37c35ecb2 (diff) |
atf: a3700: add crash report print for relevant regs
- The patch adds macro prints for relevant GIC and CCI registers
registers whenever an unhandled exception is taken in BL31.
Change-Id: Ic9519fba41d45e6e47a615aea242d1b240aa3ce6
Signed-off-by: zachary <zhangzg@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/38637
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Hua Jing <jinghua@marvell.com>
-rw-r--r-- | plat/marvell/a3700/common/include/plat_macros.S | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/plat/marvell/a3700/common/include/plat_macros.S b/plat/marvell/a3700/common/include/plat_macros.S index d4a0679e..44cceb05 100644 --- a/plat/marvell/a3700/common/include/plat_macros.S +++ b/plat/marvell/a3700/common/include/plat_macros.S @@ -37,14 +37,17 @@ #include <arm_macros.S> -/* - * Required platform porting macros - * (Provided by included headers) +/* --------------------------------------------- + * The below macro prints out relevant GIC and + * CCI registers registers whenever an unhandled + * exception is taken in BL31. + * --------------------------------------------- */ -.macro plat_print_gic_regs -.endm - .macro plat_crash_print_regs + mov_imm x17, MVEBU_GICC_BASE + mov_imm x16, MVEBU_GICD_BASE + arm_print_gic_regs + print_cci_regs .endm #endif /* __PLAT_MACROS_S__ */ |