forked from OERV-BSP/u-boot
nios2: convert altera_uart to driver model
Convert altera_uart to driver model. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Marek Vasut <marex@denx.de>
This commit is contained in:
@@ -23,14 +23,7 @@
|
||||
/*
|
||||
* SERIAL
|
||||
*/
|
||||
#if defined(CONFIG_ALTERA_JTAG_UART)
|
||||
#else
|
||||
# define CONFIG_SYS_NIOS_CONSOLE CONFIG_SYS_UART_BASE
|
||||
#endif
|
||||
|
||||
#define CONFIG_SYS_NIOS_FIXEDBAUD
|
||||
#define CONFIG_BAUDRATE CONFIG_SYS_UART_BAUD
|
||||
#define CONFIG_SYS_BAUDRATE_TABLE {CONFIG_BAUDRATE}
|
||||
#define CONFIG_BAUDRATE 115200
|
||||
#define CONFIG_SYS_CONSOLE_INFO_QUIET /* Suppress console info */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user