]> err.no Git - linux-2.6/commitdiff
[ARM] 4710/1: Fix coprocessor 14 usage for debug messages via ICEDCC
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Thu, 13 Dec 2007 08:31:34 +0000 (09:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Dec 2007 17:16:13 +0000 (17:16 +0000)
According to ARM7TDMI Technical Reference Manual (ARM DDI 0210C) writing
to the DCC data write register coproc dest registers are 1 and 0, not 0
and 1.

ARM920T TRM (ARM DDI 0151C) agrees on that.

Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/boot/compressed/head.S

index b9b03eda70e5a370b02b3c276cd9db69405af3d7..5cac46a19bb781609b1940c7cde7d353641d246f 100644 (file)
@@ -31,7 +31,7 @@
                .macro  loadsp, rb
                .endm
                .macro  writeb, ch, rb
-               mcr     p14, 0, \ch, c0, c1, 0
+               mcr     p14, 0, \ch, c1, c0, 0
                .endm
 #endif