ARM: tegra: whistler: uart: Add PORT_TEGRA port type
Pradeep Goudagunta [Mon, 28 Mar 2011 11:30:05 +0000 (16:30 +0530)]
Add and force debug uart port type to PORT_TEGRA.

Bug 803910

Change-Id: I55c675a4f724bb13005bf37b495df670e208b094
Reviewed-on: http://git-master/r/24468
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re96b204e4ce254f2aebb9ba53c86ddff1576e8da

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

index 6feb14d..f2d3842 100644 (file)
@@ -60,7 +60,8 @@ static struct plat_serial8250_port debug_uart_platform_data[] = {
                .membase        = IO_ADDRESS(TEGRA_UARTA_BASE),
                .mapbase        = TEGRA_UARTA_BASE,
                .irq            = INT_UARTA,
-               .flags          = UPF_BOOT_AUTOCONF,
+               .flags          = UPF_BOOT_AUTOCONF | UPF_FIXED_TYPE,
+               .type           = PORT_TEGRA,
                .iotype         = UPIO_MEM,
                .regshift       = 2,
                .uartclk        = 216000000,