summaryrefslogtreecommitdiff
path: root/plat/sun50iw1p1
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-04-27 21:52:33 +0100
committerAndre Przywara <andre.przywara@arm.com>2016-06-02 01:27:31 +0100
commit4365d367b7304bb5b9f3803320b6949197d52f99 (patch)
tree80ba2e055da2c89049845eaf3b9f9db36a672d2b /plat/sun50iw1p1
parent13c7a5c8d469c4ee0425e64a1ae4bf11edee7bed (diff)
sun50i: define empty print_plat_interconnect_regs
Instead of commenting the routine from FVP and the call, simply define the print_plat_interconnect_regs macros as empty, which is the recommended way in case there is no interconnect information available. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat/sun50iw1p1')
-rw-r--r--plat/sun50iw1p1/include/plat_macros.S21
1 files changed, 0 insertions, 21 deletions
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