projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53ee634
)
ti_omap5_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL
author
Tom Rini
<trini@konsulko.com>
Thu, 17 Sep 2015 20:47:04 +0000
(16:47 -0400)
committer
Tom Rini
<trini@konsulko.com>
Thu, 22 Oct 2015 18:18:41 +0000
(14:18 -0400)
Tested on J6Eco EVM
Signed-off-by: Tom Rini <trini@konsulko.com>
include/configs/ti_omap5_common.h
patch
|
blob
|
history
diff --git
a/include/configs/ti_omap5_common.h
b/include/configs/ti_omap5_common.h
index 189ea7e9140e33465b98f2e8b62b0db262801f37..9fc33aa6a2c6d832fdec13ecb9ae6ebe66ab97b2 100644
(file)
--- 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