diff options
| author | Chen-Yu Tsai <[email protected]> | 2017-12-05 14:00:07 +0800 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2017-12-07 21:52:26 +0530 |
| commit | 6af1a2eeee8b4eb50ea5f66c512c945927539975 (patch) | |
| tree | db75a3afd5bba0c22c77e21c4ce783e0f015029d | |
| parent | 7c750fac22fa46546c25b3a3d2ca0598fba2f10e (diff) | |
sunxi: Fix UART console index for A33-OLinuXino
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 <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
| -rw-r--r-- | configs/A33-OLinuXino_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/A33-OLinuXino_defconfig b/configs/A33-OLinuXino_defconfig index c11991de7e5..894bb19cf0b 100644 --- a/configs/A33-OLinuXino_defconfig +++ b/configs/A33-OLinuXino_defconfig @@ -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 |
