[U-Boot] [PATCH] sunxi: Use uart0 as console for Sinlinx SinA33

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 --- configs/Sinlinx_SinA33_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/Sinlinx_SinA33_defconfig b/configs/Sinlinx_SinA33_defconfig index 8a51bf3d0b24..d1b5b22689f2 100644 --- a/configs/Sinlinx_SinA33_defconfig +++ b/configs/Sinlinx_SinA33_defconfig @@ -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

On Sun, May 07, 2017 at 03:51:17PM +0800, Chen-Yu Tsai wrote:
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
Maxime

On Wed, May 10, 2017 at 12:39 AM, Maxime Ripard maxime.ripard@free-electrons.com wrote:
On Sun, May 07, 2017 at 03:51:17PM +0800, Chen-Yu Tsai wrote:
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
Applied to u-boot-sunxi/master
thanks!
participants (3)
-
Chen-Yu Tsai
-
Jagan Teki
-
Maxime Ripard