diff mbox series

sunxi: Fix serial console for A10s-OLinuXino-MICRO

Message ID 20221211220054.11320-1-kettenis@openbsd.org
State Accepted
Commit 705209a0957ffd9e0ad001d01cb2b468fb1b3347
Delegated to: Andre Przywara
Headers show
Series sunxi: Fix serial console for A10s-OLinuXino-MICRO | expand

Commit Message

Mark Kettenis Dec. 11, 2022, 10 p.m. UTC
On this board CONFIG_CONS_INDEX needs to be 1 unlike other sun5i
boards.  Since this is the default, remove to bogus setting.

Fixes: 7095f8641863 ("sunxi: Convert CONS_INDEX to Kconfig")
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
---
 configs/A10s-OLinuXino-M_defconfig | 1 -
 1 file changed, 1 deletion(-)

Comments

Andre Przywara Dec. 11, 2022, 10:18 p.m. UTC | #1
On Sun, 11 Dec 2022 23:00:54 +0100
Mark Kettenis <kettenis@openbsd.org> wrote:

Hi,

> On this board CONFIG_CONS_INDEX needs to be 1 unlike other sun5i
> boards.  Since this is the default, remove to bogus setting.

Indeed, UART1 is not even configured in the DT, and Olimex' user manual
mentions explicitly that UART0 should be used for debug.

> Fixes: 7095f8641863 ("sunxi: Convert CONS_INDEX to Kconfig")
> Signed-off-by: Mark Kettenis <kettenis@openbsd.org>

Reviewed-by: Andre Przywara <andre.przywara@arm.com>

Thanks,
Andre

> ---
>  configs/A10s-OLinuXino-M_defconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/configs/A10s-OLinuXino-M_defconfig b/configs/A10s-OLinuXino-M_defconfig
> index 2ac68039b0..37ebeb9c85 100644
> --- a/configs/A10s-OLinuXino-M_defconfig
> +++ b/configs/A10s-OLinuXino-M_defconfig
> @@ -17,6 +17,5 @@ CONFIG_SYS_I2C_SPEED=400000
>  CONFIG_MII=y
>  CONFIG_SUN4I_EMAC=y
>  CONFIG_AXP152_POWER=y
> -CONFIG_CONS_INDEX=2
>  CONFIG_USB_EHCI_HCD=y
>  CONFIG_USB_OHCI_HCD=y
diff mbox series

Patch

diff --git a/configs/A10s-OLinuXino-M_defconfig b/configs/A10s-OLinuXino-M_defconfig
index 2ac68039b0..37ebeb9c85 100644
--- a/configs/A10s-OLinuXino-M_defconfig
+++ b/configs/A10s-OLinuXino-M_defconfig
@@ -17,6 +17,5 @@  CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_AXP152_POWER=y
-CONFIG_CONS_INDEX=2
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y