]> git.sur5r.net Git - u-boot/commitdiff
arm: am437x: cm-t43: migrate CONFIG_DM_SERIAL to config file
authorNikita Kiryanov <nikita@compulab.co.il>
Fri, 19 Feb 2016 17:19:42 +0000 (19:19 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2016 23:44:05 +0000 (18:44 -0500)
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>
configs/cm_t43_defconfig
include/configs/cm_t43.h

index 6044ae94c24667326a07cb8eaf5258c49b086c5c..98e21cfa820f9db003e93a3e2009381de31ae8f0 100644 (file)
@@ -10,3 +10,4 @@ CONFIG_CMD_GPIO=y
 # CONFIG_CMD_NFS is not set
 CONFIG_DM=y
 CONFIG_SYS_NS16550=y
+CONFIG_DM_SERIAL=y
index d0dfdef03e3d8ae68fb2f2dcb3e8c159712e13ae..6abc085b982d559e3e6d62f6ba001b0c523bb78a 100644 (file)
 #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