sunxi: fix the default value of CONS_INDEX on non-A23/A33 SUN8I
authorIcenowy Zheng <icenowy@aosc.io>
Mon, 24 Apr 2017 17:39:51 +0000 (01:39 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 25 Apr 2017 09:44:21 +0000 (11:44 +0200)
commite8f86a026125ff2b2d6bd6eac73d2542852aab84
tree38ad6676244dc461577ed146e5012670b64d0db2
parent2eff3b7179a95a5cde0eaf8fae8c4b18956f2f59
sunxi: fix the default value of CONS_INDEX on non-A23/A33 SUN8I

Only A23/A33 in SUN8I want a default value of CONS_INDEX of 5, for other
chips the default value is 1 like other Allwinner SoCs.

Fix this default value.

The original wrong value has lead to wrong console on H3 Orange Pi
boards.

Fixes: 7095f8641863 ("sunxi: Convert CONS_INDEX to Kconfig")
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/serial/Kconfig