From: Thomas Chou Date: Thu, 19 Nov 2015 13:48:15 +0000 (+0800) Subject: nios2: 10m50: change to ns16550 uart X-Git-Tag: v2016.01-rc2~163 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2f3a5fee9e901a34263cf293d1d9072bbd69fe27;p=u-boot nios2: 10m50: change to ns16550 uart Change to ns16550 uart for 10m50 devboard based on a new Altera release. Signed-off-by: Thomas Chou Reviewed-by: Tom Rini Acked-by: Simon Glass --- diff --git a/arch/nios2/dts/10m50_devboard.dts b/arch/nios2/dts/10m50_devboard.dts index e89dbb2331..05eac30d67 100644 --- a/arch/nios2/dts/10m50_devboard.dts +++ b/arch/nios2/dts/10m50_devboard.dts @@ -262,6 +262,6 @@ chosen { bootargs = "debug console=ttyS0,115200"; - stdout-path = &uart_0; + stdout-path = &a_16550_uart_0; }; }; diff --git a/configs/10m50_defconfig b/configs/10m50_defconfig index 1919502e65..0d18e8da8c 100644 --- a/configs/10m50_defconfig +++ b/configs/10m50_defconfig @@ -22,6 +22,6 @@ CONFIG_MTD=y CONFIG_ALTERA_QSPI=y CONFIG_DM_ETH=y CONFIG_ALTERA_TSE=y -CONFIG_ALTERA_UART=y +CONFIG_SYS_NS16550=y CONFIG_TIMER=y CONFIG_ALTERA_TIMER=y diff --git a/include/configs/10m50_devboard.h b/include/configs/10m50_devboard.h index 48d5063716..8a91cdbd22 100644 --- a/include/configs/10m50_devboard.h +++ b/include/configs/10m50_devboard.h @@ -20,6 +20,7 @@ */ #define CONFIG_BAUDRATE 115200 #define CONFIG_SYS_CONSOLE_INFO_QUIET /* Suppress console info */ +#define CONFIG_SYS_NS16550_MEM32 /* * Flash