[ARM] Allow ICEDCC to work with CPU_V7 as well as CPU_V6.
authorBrian Swetland <swetland@google.com>
Tue, 27 Jan 2009 01:14:04 +0000 (17:14 -0800)
committerArve Hjønnevåg <arve@android.com>
Thu, 4 Feb 2010 04:48:12 +0000 (20:48 -0800)
The mechanism is the same -- just need to adjust some ifdefs.

Signed-off-by: Brian Swetland <swetland@google.com>
arch/arm/boot/compressed/head.S
arch/arm/boot/compressed/misc.c
arch/arm/kernel/debug.S

index fa6fbf45cf3bda72821506be8f86087b854c4a4b..2a998920dfc0aef43956520ff449e6b158badee2 100644 (file)
@@ -21,7 +21,7 @@
 
 #if defined(CONFIG_DEBUG_ICEDCC)
 
-#ifdef CONFIG_CPU_V6
+#ifdef defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V7)
                .macro  loadsp, rb
                .endm
                .macro  writeb, ch, rb
index 17153b54613b4c5948db2f66b1cbf7a0716b2309..c97ad768b42c4dab7b0697c53c7fbc30f2670cfd 100644 (file)
@@ -33,7 +33,7 @@ static void putstr(const char *ptr);
 
 #ifdef CONFIG_DEBUG_ICEDCC
 
-#ifdef CONFIG_CPU_V6
+#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V7)
 
 static void icedcc_putc(int ch)
 {
index b121b6053cce4e74a1b650c6bc83665920225ede..9690ebed78fc1534475a042f687189b6aac9a971 100644 (file)
@@ -22,7 +22,7 @@
 #if defined(CONFIG_DEBUG_ICEDCC)
                @@ debug using ARM EmbeddedICE DCC channel
 
-#if defined(CONFIG_CPU_V6)
+#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V7)
 
                .macro  addruart, rx
                .endm