mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-14 10:21:33 +00:00
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:
parent
a79c8408ca
commit
1d51ea1913
2 changed files with 8 additions and 1 deletions
|
@ -112,6 +112,7 @@ config ARCH_MVEBU
|
||||||
select OF_CONTROL
|
select OF_CONTROL
|
||||||
select OF_SEPARATE
|
select OF_SEPARATE
|
||||||
select DM
|
select DM
|
||||||
|
select DM_SERIAL
|
||||||
|
|
||||||
config TARGET_DEVKIT3250
|
config TARGET_DEVKIT3250
|
||||||
bool "Support devkit3250"
|
bool "Support devkit3250"
|
||||||
|
|
|
@ -39,11 +39,17 @@
|
||||||
/*
|
/*
|
||||||
* NS16550 Configuration
|
* NS16550 Configuration
|
||||||
*/
|
*/
|
||||||
|
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM_SERIAL)
|
||||||
|
#define CONFIG_DW_SERIAL
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CONFIG_SYS_NS16550
|
#define CONFIG_SYS_NS16550
|
||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
|
|
||||||
#define CONFIG_SYS_NS16550_CLK CONFIG_SYS_TCLK
|
#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
|
#define CONFIG_SYS_NS16550_COM1 MV_UART_CONSOLE_BASE
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Serial Port configuration
|
* Serial Port configuration
|
||||||
|
|
Loading…
Add table
Reference in a new issue