From: Tom Rini Date: Thu, 17 Sep 2015 20:47:04 +0000 (-0400) Subject: ti_omap5_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL X-Git-Tag: v2016.01-rc1~275 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=01e870b70f693ff739299e515f19c364ce59c68f;p=oweals%2Fu-boot.git ti_omap5_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL Tested on J6Eco EVM Signed-off-by: Tom Rini --- diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index 189ea7e914..9fc33aa6a2 100644 --- a/include/configs/ti_omap5_common.h +++ b/include/configs/ti_omap5_common.h @@ -51,9 +51,13 @@ * 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 +#else +#define CONFIG_OMAP_SERIAL +#endif /* * Environment setup