Commit 7ef77c029a15ce94a9179d371dee16e04bf7a84e

Authored by Nikita Kiryanov
Committed by Tom Rini
1 parent 034a819660

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>

Showing 2 changed files with 4 additions and 1 deletions Side-by-side Diff

configs/cm_t43_defconfig
... ... @@ -10,4 +10,5 @@
10 10 # CONFIG_CMD_NFS is not set
11 11 CONFIG_DM=y
12 12 CONFIG_SYS_NS16550=y
  13 +CONFIG_DM_SERIAL=y
include/configs/cm_t43.h
... ... @@ -18,10 +18,12 @@
18 18 #include <asm/arch/omap.h>
19 19  
20 20 /* Serial support */
21   -#define CONFIG_DM_SERIAL
22 21 #define CONFIG_SYS_NS16550_SERIAL
23 22 #define CONFIG_SYS_NS16550_CLK 48000000
24 23 #define CONFIG_SYS_NS16550_COM1 0x44e09000
  24 +#ifdef CONFIG_SPL_BUILD
  25 +#define CONFIG_SYS_NS16550_REG_SIZE (-4)
  26 +#endif
25 27  
26 28 /* NAND support */
27 29 #define CONFIG_NAND