]> git.sur5r.net Git - u-boot/commitdiff
sunxi: Fix UART console index for A33-OLinuXino
authorChen-Yu Tsai <wens@csie.org>
Tue, 5 Dec 2017 06:00:07 +0000 (14:00 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 7 Dec 2017 16:22:26 +0000 (21:52 +0530)
The A33-OLinuXino defconfig was using the default CONS_INDEX value for
A33, which actually points to the R_UART, which is routed to the GPIO
header without proper pull-ups or diodes. The board has a separate
header for UART0, which are routed to pins PB0 and PB1. This header
is properly marked and is likely the first pins any user would try
to get a console.

Fix CONS_INDEX in the defconfig so the console appears on UART0.

Fixes: ca5c37026be4 ("sunxi: Add support for A33-OLinuXino board")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
configs/A33-OLinuXino_defconfig

index c11991de7e5aa4c3d2627d32a3c449408c70cebd..894bb19cf0bd157a70749fa1cf5e8553260db465 100644 (file)
@@ -1,5 +1,6 @@
 CONFIG_ARM=y
 CONFIG_ARCH_SUNXI=y
+CONFIG_CONS_INDEX=1
 CONFIG_MACH_SUN8I_A33=y
 CONFIG_DRAM_CLK=432
 CONFIG_DRAM_ZQ=15291