summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2014-10-21 16:50:03 +0200
committerStefan Agner <stefan.agner@toradex.com>2014-10-23 11:11:04 +0200
commit752aae30a791326581efafbb761c0cebaba8d3ea (patch)
tree54e5894a604fa3f03a4d9760def1cd2875a054f8 /include
parent182d2e363d1fbd175aa7c2ea41afdf63539d8416 (diff)
Revert "dm: tegra: Enable driver model for serial"
Migrating our BSPs towards mainline U-Boot I noticed it suddenly booting slower. With mainline Linux I noticed about a 1 to 2 second increase while booting downstream L4T takes 10 to 15 seconds longer! This reverts commit 858530a8c0a7ce7e573e513934804a00d6676813. Conflicts: drivers/serial/Makefile
Diffstat (limited to 'include')
-rw-r--r--include/configs/tegra-common.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index fcd390772f..e5dd3e3c46 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -21,9 +21,6 @@
#define CONFIG_DM
#define CONFIG_CMD_DM
#define CONFIG_DM_GPIO
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_DM_SERIAL
-#endif
#define CONFIG_SYS_TIMER_RATE 1000000
#define CONFIG_SYS_TIMER_COUNTER NV_PA_TMRUS_BASE
@@ -53,14 +50,10 @@
/*
* NS16550 Configuration
*/
-#ifdef CONFIG_SPL_BUILD
+#define CONFIG_SYS_NS16550
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK
-#else
-#define CONFIG_TEGRA_SERIAL
-#endif
-#define CONFIG_SYS_NS16550
/*
* Common HW configuration.