ARM: tegra: make debug_ll code build for ARMv6
authorArnd Bergmann <arnd@arndb.de>
Thu, 27 Feb 2014 12:42:37 +0000 (13:42 +0100)
committerArnd Bergmann <arnd@arndb.de>
Sat, 22 Mar 2014 00:06:58 +0000 (01:06 +0100)
commit9f3ba4567e8d11de89673afea174d206ca9446f6
tree633f72622d418c84756b2fc5eaae0832caf2be40
parent1146b600044de64af0ef775025731eeef1fa2189
ARM: tegra: make debug_ll code build for ARMv6

In a combined ARMv6/v7 kernel, we cannot use the
movt/movw instructions to load an immediate, as they
are not valid on ARMv6.

This changes the file to use an indirect load instead,
as lots of other implementations do.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: linux-tegra@vger.kernel.org
arch/arm/include/debug/tegra.S