From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Mon, 16 Nov 2015 22:36:56 +0800 Subject: [U-Boot] [PATCH 12/12] nios2: 10m50: change to ns16550 uart In-Reply-To: <1447684616-10297-1-git-send-email-thomas@wytron.com.tw> References: <1447684616-10297-1-git-send-email-thomas@wytron.com.tw> Message-ID: <1447684616-10297-13-git-send-email-thomas@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Change to ns16550 uart for 10m50 devboard based on a new Altera release. Signed-off-by: Thomas Chou --- arch/nios2/dts/10m50_devboard.dts | 2 +- configs/10m50_defconfig | 2 +- include/configs/10m50_devboard.h | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/nios2/dts/10m50_devboard.dts b/arch/nios2/dts/10m50_devboard.dts index e89dbb2..05eac30 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 af2cef7..28bb353 100644 --- a/configs/10m50_defconfig +++ b/configs/10m50_defconfig @@ -21,6 +21,6 @@ CONFIG_MTD=y CONFIG_ALTERA_QSPI=y CONFIG_DM_ETH=y CONFIG_ALTERA_TSE=y -CONFIG_ALTERA_UART=y +CONFIG_NS16550_SERIAL=y CONFIG_TIMER=y CONFIG_ALTERA_TIMER=y diff --git a/include/configs/10m50_devboard.h b/include/configs/10m50_devboard.h index ab7dd08..dd6dcb6 100644 --- a/include/configs/10m50_devboard.h +++ b/include/configs/10m50_devboard.h @@ -20,6 +20,8 @@ */ #define CONFIG_BAUDRATE 115200 #define CONFIG_SYS_CONSOLE_INFO_QUIET /* Suppress console info */ +#define CONFIG_SYS_NS16550 +#define CONFIG_SYS_NS16550_MEM32 /* * Flash -- 2.5.0