]> git.sur5r.net Git - u-boot/commitdiff
nios2: 10m50: change to ns16550 uart
authorThomas Chou <thomas@wytron.com.tw>
Thu, 19 Nov 2015 13:48:15 +0000 (21:48 +0800)
committerTom Rini <trini@konsulko.com>
Sun, 22 Nov 2015 02:50:18 +0000 (21:50 -0500)
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>
arch/nios2/dts/10m50_devboard.dts
configs/10m50_defconfig
include/configs/10m50_devboard.h

index e89dbb23317006e4949c8c5f629bfe05239a7224..05eac30d67574c0e66dae3e19f5bf1037740fed6 100644 (file)
 
        chosen {
                bootargs = "debug console=ttyS0,115200";
-               stdout-path = &uart_0;
+               stdout-path = &a_16550_uart_0;
        };
 };
index 1919502e651e241882dafd01b66b10eba4a21c47..0d18e8da8c55c6c11e517e3fc66dbc8e17d2c398 100644 (file)
@@ -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
index 48d50637162422aee520b5f30a493df69bbd8715..8a91cdbd2290e7d0e0681425c496b8afbe3f2751 100644 (file)
@@ -20,6 +20,7 @@
  */
 #define CONFIG_BAUDRATE                        115200
 #define CONFIG_SYS_CONSOLE_INFO_QUIET  /* Suppress console info */
+#define CONFIG_SYS_NS16550_MEM32
 
 /*
  * Flash