sunxi: Use uart0 as console for Sinlinx SinA33
authorChen-Yu Tsai <wens@csie.org>
Sun, 7 May 2017 07:51:17 +0000 (15:51 +0800)
committerJagan Teki <jagan@openedev.com>
Tue, 23 May 2017 16:43:51 +0000 (16:43 +0000)
On the A33, uart0 is muxed on the PB pins. On SBCs these pins may be
available for use. Such is the case on the Sinlinx SinA33.

Set CONS_INDEX=1 to use uart0 as the console, matching the device tree.

Fixes: 7095f8641863 ("sunxi: Convert CONS_INDEX to Kconfig")
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/Sinlinx_SinA33_defconfig

index 8a51bf3d0b246a443844faa5004f1714a36e8750..d1b5b22689f2958734156eb02619525806c12512 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=552
 CONFIG_DRAM_ZQ=15291