summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-11-19 21:48:15 +0800
committerTom Rini <trini@konsulko.com>2015-11-21 21:50:18 -0500
commit2f3a5fee9e901a34263cf293d1d9072bbd69fe27 (patch)
treecb6f033d7f1fa0d2c0bd4a8f0205350d13f0d080
parent9e39003e7ffa327adaef468840196de2e8820d2f (diff)
downloadblackbird-obmc-uboot-2f3a5fee9e901a34263cf293d1d9072bbd69fe27.tar.gz
blackbird-obmc-uboot-2f3a5fee9e901a34263cf293d1d9072bbd69fe27.zip
nios2: 10m50: change to ns16550 uart
Change to ns16550 uart for 10m50 devboard based on a new Altera release. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/nios2/dts/10m50_devboard.dts2
-rw-r--r--configs/10m50_defconfig2
-rw-r--r--include/configs/10m50_devboard.h1
3 files changed, 3 insertions, 2 deletions
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
OpenPOWER on IntegriCloud