ARM: 6826/1: Merge v6 and v7 DEBUG_LL DCC support
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 23 Mar 2011 21:46:15 +0000 (22:46 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Mar 2011 18:01:43 +0000 (19:01 +0100)
commitdfad549d98b60160547d1b8299051b9456c8da85
tree3920e4931669c67e0f06955dfc667ee3aa0d566c
parent8e8806990cfd91a4ec25df6f00528008c4b0087a
ARM: 6826/1: Merge v6 and v7 DEBUG_LL DCC support

The inline assembly differences for v6 vs. v7 are purely
optimizations. On a v7 processor, an mrc with the pc sets the
condition codes to the 28-31 bits of the register being read. It
just so happens that the TX/RX full bits the DCC support code is
testing for are high enough in the register to be put into the
condition codes. On a v6 processor, this "feature" isn't
implemented and thus we have to do the usual read, mask, test
operations to check for TX/RX full. Thus, we can drop the v7
implementation and just use the v6 implementation for both.

Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/boot/compressed/head.S
arch/arm/boot/compressed/misc.c
arch/arm/kernel/debug.S
This page took 0.024722 seconds and 5 git commands to generate.