arm: tegra: whistler: fix console support in LP
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 6 Jul 2011 17:14:40 +0000 (22:14 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 24 Mar 2012 04:14:13 +0000 (21:14 -0700)
commit46c47f7c36f615322e0db0893083679b9a7b807d
treefd2056658694b01b33915de90317068fd4ebbdbc
parent6832bf14fdcd73c11276f410067f31ff25827bc3
arm: tegra: whistler: fix console support in LP

Bug 866093

- When console suspenstion is disabled, uart debug port's state is
saved and resumed across LP."debug_uart_port_base" is not intialised with
correct debug port base which causes junk printed in console while resuming.
The fix initialises uart port and set "debug_uart_port_base" with correct
debug port. Added the changes top of the changes http://git-master/r/39011.

original commit message:

arm: tegra: whistler: Provide uart platform data

Providing the uart platform data to select the clock source
from given parent list of clocks. The driver will select
the clock source with minimum error between calculated and
requested baudrate.

bug 825530

Original-Change-Id: I80e3122c080aad0722c68e2dbc08688b3a22f19c
Reviewed-on: http://git-master/r/39011
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/48993
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rb6d429a94698a90db2f5c3b46f17c0b47b55ca00
arch/arm/mach-tegra/board-whistler.c