dm: tegra: Provide serial platform data for SPL
authorSimon Glass <sjg@chromium.org>
Fri, 4 Dec 2015 15:58:39 +0000 (08:58 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 5 Dec 2015 23:22:38 +0000 (18:22 -0500)
At present an incorrect #if term is preventing this data from being compiled
in. All tegra boards use driver model for serial, so we can just drop this.

Fixes: fde7e18938d8 ("dm: tegra: pci: Move CONFIG_PCI_TEGRA to Kconfig")
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Thomas Chou <thomas@wytron.com.tw>
arch/arm/mach-tegra/board.c

index 8c8927d5919ab54c59b5b2d2495dffbbbd631c73..3d1d26d13d1399b38b1fadac66721a8bb4c08e2e 100644 (file)
@@ -214,7 +214,7 @@ void board_init_uart_f(void)
        setup_uarts(uart_ids);
 }
 
-#if CONFIG_IS_ENABLED(DM_SERIAL) && !CONFIG_IS_ENABLED(OF_CONTROL)
+#if !CONFIG_IS_ENABLED(OF_CONTROL)
 static struct ns16550_platdata ns16550_com1_pdata = {
        .base = CONFIG_SYS_NS16550_COM1,
        .reg_shift = 2,