From: Nikita Kiryanov Date: Fri, 19 Feb 2016 17:19:42 +0000 (+0200) Subject: arm: am437x: cm-t43: migrate CONFIG_DM_SERIAL to config file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7ef77c029a15ce94a9179d371dee16e04bf7a84e;p=project%2Fbcm63xx%2Fu-boot.git 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 Cc: Albert Aribaud Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov Reviewed-by: Tom Rini --- diff --git a/configs/cm_t43_defconfig b/configs/cm_t43_defconfig index 6044ae94c2..98e21cfa82 100644 --- a/configs/cm_t43_defconfig +++ b/configs/cm_t43_defconfig @@ -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 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 /* 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