summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-12-04 08:58:39 -0700
committerTom Rini <trini@konsulko.com>2015-12-05 18:22:38 -0500
commit878a3ed9ad137c329df2f95735249353e565aac8 (patch)
tree21ecf7e6105a4ebdf49c95d3ecdb86e080f112b1 /arch/arm/mach-tegra
parentb7e5a6439f3075ec79f8d38a3572fc3b68d583d3 (diff)
downloadu-boot-imx-878a3ed9ad137c329df2f95735249353e565aac8.zip
u-boot-imx-878a3ed9ad137c329df2f95735249353e565aac8.tar.gz
u-boot-imx-878a3ed9ad137c329df2f95735249353e565aac8.tar.bz2
dm: tegra: Provide serial platform data for SPL
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>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board.c b/arch/arm/mach-tegra/board.c
index 8c8927d..3d1d26d 100644
--- a/arch/arm/mach-tegra/board.c
+++ b/arch/arm/mach-tegra/board.c
@@ -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,