arm/debug: consolidate addruart macros for CONFIG_DEBUG_ICEDCC

We have the same (empty) macro for all IDEDCC flavours, so consolidate
it to one.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>

authored by Jeremy Kerr and committed by Nicolas Pitre 1ea64615 d71e3eb5

+2 -11
+2 -11
arch/arm/kernel/debug.S
··· 22 #if defined(CONFIG_DEBUG_ICEDCC) 23 @@ debug using ARM EmbeddedICE DCC channel 24 25 - #if defined(CONFIG_CPU_V6) 26 - 27 .macro addruart, rx, tmp 28 .endm 29 30 .macro senduart, rd, rx 31 mcr p14, 0, \rd, c0, c5, 0 ··· 51 52 #elif defined(CONFIG_CPU_V7) 53 54 - .macro addruart, rx, tmp 55 - .endm 56 - 57 .macro senduart, rd, rx 58 mcr p14, 0, \rd, c0, c5, 0 59 .endm ··· 67 .endm 68 69 #elif defined(CONFIG_CPU_XSCALE) 70 - 71 - .macro addruart, rx, tmp 72 - .endm 73 74 .macro senduart, rd, rx 75 mcr p14, 0, \rd, c8, c0, 0 ··· 91 .endm 92 93 #else 94 - 95 - .macro addruart, rx, tmp 96 - .endm 97 98 .macro senduart, rd, rx 99 mcr p14, 0, \rd, c1, c0, 0
··· 22 #if defined(CONFIG_DEBUG_ICEDCC) 23 @@ debug using ARM EmbeddedICE DCC channel 24 25 .macro addruart, rx, tmp 26 .endm 27 + 28 + #if defined(CONFIG_CPU_V6) 29 30 .macro senduart, rd, rx 31 mcr p14, 0, \rd, c0, c5, 0 ··· 51 52 #elif defined(CONFIG_CPU_V7) 53 54 .macro senduart, rd, rx 55 mcr p14, 0, \rd, c0, c5, 0 56 .endm ··· 70 .endm 71 72 #elif defined(CONFIG_CPU_XSCALE) 73 74 .macro senduart, rd, rx 75 mcr p14, 0, \rd, c8, c0, 0 ··· 97 .endm 98 99 #else 100 101 .macro senduart, rd, rx 102 mcr p14, 0, \rd, c1, c0, 0