diff options
-rw-r--r-- | bl31/aarch64/crash_reporting.S | 2 | ||||
-rw-r--r-- | plat/sun50iw1p1/include/plat_macros.S | 21 |
2 files changed, 1 insertions, 22 deletions
diff --git a/bl31/aarch64/crash_reporting.S b/bl31/aarch64/crash_reporting.S index 79d7457..68fe256 100644 --- a/bl31/aarch64/crash_reporting.S +++ b/bl31/aarch64/crash_reporting.S @@ -342,7 +342,7 @@ func do_crash_reporting plat_print_gic_regs /* Print the interconnect registers */ - /*plat_print_interconnect_regs*/ + plat_print_interconnect_regs /* Done reporting */ b crash_panic diff --git a/plat/sun50iw1p1/include/plat_macros.S b/plat/sun50iw1p1/include/plat_macros.S index 4e35541..4fd35bd 100644 --- a/plat/sun50iw1p1/include/plat_macros.S +++ b/plat/sun50iw1p1/include/plat_macros.S @@ -80,27 +80,6 @@ gicd_ispendr_loop: b gicd_ispendr_loop exit_print_gic_regs: .endm -#if 0 -.section .rodata.cci_reg_name, "aS" -cci_iface_regs: - .asciz "cci_snoop_ctrl_cluster0", "cci_snoop_ctrl_cluster1" , "" - /* ------------------------------------------------ - * The below macro prints out relevant interconnect - * registers whenever an unhandled exception is - * taken in BL3-1. - * Clobbers: x0 - x9, sp - * ------------------------------------------------ - */ .macro plat_print_interconnect_regs - adr x6, cci_iface_regs - /* Store in x7 the base address of the first interface */ - mov_imm x7, (CCI400_BASE + SLAVE_IFACE3_OFFSET) - ldr w8, [x7, #SNOOP_CTRL_REG] - /* Store in x7 the base address of the second interface */ - mov_imm x7, (CCI400_BASE + SLAVE_IFACE4_OFFSET) - ldr w9, [x7, #SNOOP_CTRL_REG] - /* Store to the crash buf and print to console */ - bl str_in_crash_buf_print .endm -#endif |