arm: mvebu: Enable DM_SERIAL on AXP / A38x boards

This patch enables DM_SERIAL for all ARCH_MVEBU boards (AXP & A38x).

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Luka Perkov <luka.perkov@sartura.hr>
This commit is contained in:
Stefan Roese 2015-09-02 08:41:41 +02:00 committed by Luka Perkov
parent a79c8408ca
commit 1d51ea1913
2 changed files with 8 additions and 1 deletions

View File

@ -112,6 +112,7 @@ config ARCH_MVEBU
select OF_CONTROL
select OF_SEPARATE
select DM
select DM_SERIAL
config TARGET_DEVKIT3250
bool "Support devkit3250"

View File

@ -39,11 +39,17 @@
/*
* NS16550 Configuration
*/
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM_SERIAL)
#define CONFIG_DW_SERIAL
#endif
#define CONFIG_SYS_NS16550
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#define CONFIG_SYS_NS16550_CLK CONFIG_SYS_TCLK
#if !defined(CONFIG_DM_SERIAL)
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#define CONFIG_SYS_NS16550_COM1 MV_UART_CONSOLE_BASE
#endif
/*
* Serial Port configuration