ARM: tegra: clock src initialisation for debug port in common place
Laxman Dewangan [Wed, 22 Feb 2012 12:05:38 +0000 (17:05 +0530)]
Moving clock source rate initialisation of  debug ports in
common place from board files.
In this way, it does not need to call the same function from
all board files and so avoid duplicating.

Change-Id: I4e0292c7760488125c0dd8ee5fa23f50faca3436
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/85174
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R6354e12b66e2b5097903fecbd933226b22e8529a

arch/arm/mach-tegra/board-cardhu.c

index d3fcbd2..1ed2a07 100644 (file)
@@ -395,7 +395,6 @@ static void __init uart_debug_init(void)
                                debug_port_id = 1;
        }
 
-       tegra_init_debug_uart_rate();
        switch (debug_port_id) {
        case 0:
                /* UARTA is the debug port. */