diff mbox

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

Message ID 20170507075117.10048-1-wens@csie.org
State Accepted
Commit 5a6ff3cfb56e2f93b88a272e8b70acb2a60ead68
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Chen-Yu Tsai May 7, 2017, 7:51 a.m. UTC
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(+)

Comments

Maxime Ripard May 9, 2017, 7:09 p.m. UTC | #1
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
Jagan Teki May 23, 2017, 4:45 p.m. UTC | #2
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!
diff mbox

Patch

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