omap: Add back UART MDR1 check into uncompress.h
authorTony Lindgren <tony@atomide.com>
Mon, 2 Aug 2010 11:21:39 +0000 (14:21 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Aug 2010 11:21:39 +0000 (14:21 +0300)
commit35ddf7c003f54fc9878a15384beb9a900d40319d
tree045e4760c9e3ceed96ed659d2fe2d412415728b8
parent9fe6206f400646a2322096b56c59891d530e8d51
omap: Add back UART MDR1 check into uncompress.h

Recent DEBUG_LL and uncompress.h changes removed the check_port()
as pointed out by Cory Maccarrone <darkstar6262@gmail.com>.

This causes some boards to not boot, so add back the MDR1 register
check. The MDR1 register tells the mode of omap uart. Based on
an earlier patch by Cory Maccarrone <darkstar6262@gmail.com>.

Tested-by: Cory Maccarrone <darkstar6262@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/uncompress.h