ux500: fix uncompressor UART address for U5500
authorCarl-Johan Irekvist <carl-johan.irekvist@stericsson.com>
Wed, 8 Dec 2010 05:37:53 +0000 (11:07 +0530)
committerLinus Walleij <linus.walleij@stericsson.com>
Wed, 8 Dec 2010 12:21:38 +0000 (13:21 +0100)
commitec4a637d35d4e05d1f43a68d647fb2453891379a
tree4328163526529eb77b2a5029532539479394222e
parente8b1cc3a341684dfc02fd02f52308752b031668c
ux500: fix uncompressor UART address for U5500

The uncompress code for zImage uses the UART to print status messages,
this was hard coded to use UART2 for the U8500 platform. This patch
checks at run time which platform it is run on. U5500 uses UART0 as
console UART.

Signed-off-by: Carl-Johan Irekvist <carl-johan.irekvist@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
arch/arm/mach-ux500/include/mach/uncompress.h