summaryrefslogtreecommitdiff
path: root/include/configs/ti_am335x_common.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2017-04-26 08:07:09 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-12 02:21:29 (GMT)
commit238205f1b3e3de1fab961efd11dd0ca88ba47191 (patch)
treeb0747acf0503223a206506cf7fc36a7514508b96 /include/configs/ti_am335x_common.h
parent4548bc8d0a299a194f4b8322d66207150590b9dc (diff)
downloadu-boot-238205f1b3e3de1fab961efd11dd0ca88ba47191.tar.xz
configs: am335x_evm: Enable SPL_DM
Enable SPL_DM on all AM335x based TI platforms. http://patchwork.ozlabs.org/patch/751300/ Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include/configs/ti_am335x_common.h')
-rw-r--r--include/configs/ti_am335x_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h
index c0e4336..e4c3c80 100644
--- a/include/configs/ti_am335x_common.h
+++ b/include/configs/ti_am335x_common.h
@@ -22,8 +22,10 @@
/* NS16550 Configuration */
#ifdef CONFIG_SPL_BUILD
#define CONFIG_SYS_NS16550_SERIAL
+#ifndef CONFIG_DM_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#endif
+#endif
#define CONFIG_SYS_NS16550_CLK 48000000
#ifndef CONFIG_SPL_BUILD