public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL
@ 2015-09-17 20:47 Tom Rini
  2015-09-17 20:47 ` [U-Boot] [PATCH 2/3] ti_omap5_common.h: " Tom Rini
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tom Rini @ 2015-09-17 20:47 UTC (permalink / raw)
  To: u-boot

Tested on Pandaboard
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 include/configs/ti_omap4_common.h |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
index 1cd7dae..741f71f 100644
--- a/include/configs/ti_omap4_common.h
+++ b/include/configs/ti_omap4_common.h
@@ -58,11 +58,15 @@
  * Hardware drivers
  */
 #define CONFIG_SYS_NS16550
+#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
 #define CONFIG_SYS_NS16550_CLK		48000000
-#define CONFIG_CONS_INDEX		3
 #define CONFIG_SYS_NS16550_COM3		UART3_BASE
+#else
+#define CONFIG_OMAP_SERIAL
+#endif
+#define CONFIG_CONS_INDEX		3
 
 /* TWL6030 */
 #ifndef CONFIG_SPL_BUILD
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-22 21:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-17 20:47 [U-Boot] [PATCH 1/3] ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL Tom Rini
2015-09-17 20:47 ` [U-Boot] [PATCH 2/3] ti_omap5_common.h: " Tom Rini
2015-10-22 21:20   ` [U-Boot] [U-Boot, " Tom Rini
2015-09-17 20:47 ` [U-Boot] [PATCH 3/3] dra72_evm: Switch to DM_SERIAL Tom Rini
2015-09-18 10:40   ` Lokesh Vutla
2015-10-22 21:20   ` [U-Boot] [U-Boot,3/3] " Tom Rini
2015-10-22 21:20 ` [U-Boot] [U-Boot, 1/3] ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox