[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)
committerColin Cross <ccross@android.com>
Thu, 30 Sep 2010 00:49:04 +0000 (17:49 -0700)
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 6825c34646d4e02f24b0eefe7ab4e012bca05208..1f939437865215f6566c40c593da179c2dc8b147 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, tmp
                .endm
                .macro  writeb, ch, rb
index e653a6d3c8d90dae62ee3da745bfce67c34d27fb..253ecc88a7bb9f08b1c53bfa554318134824a7f2 100644 (file)
@@ -36,7 +36,7 @@ extern void error(char *x);
 
 #ifdef CONFIG_DEBUG_ICEDCC
 
-#ifdef CONFIG_CPU_V6
+#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V7)
 
 static void icedcc_putc(int ch)
 {
index a38b4879441d1715b42c4e7994f9f4d8e67b7fe4..90ecfa32a22690b18c055434c4d0d5be845fe30d 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, tmp
                .endm