summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2016-02-19 19:19:42 +0200
committerTom Rini <trini@konsulko.com>2016-02-24 18:44:05 -0500
commit7ef77c029a15ce94a9179d371dee16e04bf7a84e (patch)
treecaf11b9b12ad98c349b8acd9bb0ca218dc290468 /include
parent034a8196603f87b40537c078713236b092fd3dec (diff)
downloadtalos-obmc-uboot-7ef77c029a15ce94a9179d371dee16e04bf7a84e.tar.gz
talos-obmc-uboot-7ef77c029a15ce94a9179d371dee16e04bf7a84e.zip
arm: am437x: cm-t43: migrate CONFIG_DM_SERIAL to config file
Move CONFIG_DM_SERIAL to cm_t43_defconfig. This forces us to update the CONFIG_SYS_NS16550_REG_SIZE value for SPL. Cc: Tom Rini <trini@konsulko.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/cm_t43.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h
index d0dfdef03e..6abc085b98 100644
--- a/include/configs/cm_t43.h
+++ b/include/configs/cm_t43.h
@@ -18,10 +18,12 @@
#include <asm/arch/omap.h>
/* Serial support */
-#define CONFIG_DM_SERIAL
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_CLK 48000000
#define CONFIG_SYS_NS16550_COM1 0x44e09000
+#ifdef CONFIG_SPL_BUILD
+#define CONFIG_SYS_NS16550_REG_SIZE (-4)
+#endif
/* NAND support */
#define CONFIG_NAND
OpenPOWER on IntegriCloud