Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 83816C4332F for ; Sun, 11 Dec 2022 22:20:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 678F0853A9; Sun, 11 Dec 2022 23:20:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 731A6853AA; Sun, 11 Dec 2022 23:20:39 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 18CBA853A8 for ; Sun, 11 Dec 2022 23:20:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A43FD1FB; Sun, 11 Dec 2022 14:21:16 -0800 (PST) Received: from slackpad.lan (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2C29C3F5A1; Sun, 11 Dec 2022 14:20:35 -0800 (PST) Date: Sun, 11 Dec 2022 22:18:28 +0000 From: Andre Przywara To: Mark Kettenis Cc: u-boot@lists.denx.de, hdegoede@redhat.com, mylene.josserand@free-electrons.com, maxime.ripard@free-electrons.com, jagan@amarulasolutions.com Subject: Re: [PATCH] sunxi: Fix serial console for A10s-OLinuXino-MICRO Message-ID: <20221211221828.53756700@slackpad.lan> In-Reply-To: <20221211220054.11320-1-kettenis@openbsd.org> References: <20221211220054.11320-1-kettenis@openbsd.org> Organization: Arm Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Sun, 11 Dec 2022 23:00:54 +0100 Mark Kettenis 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 Reviewed-by: Andre Przywara 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