From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BE20C4707F for ; Thu, 27 May 2021 06:18:53 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id AFD32613C9 for ; Thu, 27 May 2021 06:18:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AFD32613C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8880382E64; Thu, 27 May 2021 08:18:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1622096330; bh=coNoL0c5eYDCR2034tQ7JtrN/387Hv/u0UsCEVxaNMQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=xpTVyLWZTHw00Zv0nwvTAmh13uK3znNQsjbMie0VS1Dd6yVvjm/Ci+VrxyXHd5ltn 2EqKspDCO0BI6tqmHrYxWfvZ1EkD8eBaQ/zyykogwUrT8gIxg0KqrdNhSEY6121YHn wZpoyDeNh5nD0+FdoVhVIPO/iTsYOQv1zKyyNaaV1MtaMA6jD8Qn3le6yXN5qbdVsU j32hKEd1eC/LU0Jc84Tz4yzxFJ3seRMMs84Kx9gUFAsRFI8xhRB86IhFyBjYQw37zD VdvW2H7GF6XGjiPmp7MilR31ke65O4v6htwlpJJ5DcfEis++XT9jXWOsaICAbC41aR VsfFplTXiLtEw== Received: by phobos.denx.de (Postfix, from userid 109) id C9A0982E74; Thu, 27 May 2021 08:18:47 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [91.198.250.252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 38AC382E4A for ; Thu, 27 May 2021 08:18:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4FrHh518CTzQjBM; Thu, 27 May 2021 08:18:45 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id Orq8PV3ja1LA; Thu, 27 May 2021 08:18:41 +0200 (CEST) Subject: Re: [PATCH u-boot-marvell 5/5] arm: mvebu: a37xx: Enable more baudrates To: =?UTF-8?Q?Marek_Beh=c3=ban?= , u-boot@lists.denx.de Cc: =?UTF-8?Q?Pali_Roh=c3=a1r?= References: <20210525174242.27509-1-marek.behun@nic.cz> <20210525174242.27509-6-marek.behun@nic.cz> From: Stefan Roese Message-ID: Date: Thu, 27 May 2021 08:18:41 +0200 MIME-Version: 1.0 In-Reply-To: <20210525174242.27509-6-marek.behun@nic.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -6.68 / 15.00 / 15.00 X-Rspamd-Queue-Id: 4537E15F8 X-Rspamd-UID: 11a73c X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.4 at phobos.denx.de X-Virus-Status: Clean On 25.05.21 19:42, Marek Behún wrote: > From: Pali Rohár > > Extend CONFIG_SYS_BAUDRATE_TABLE and include all standard baudrates and > also nonstandard up to the 6 MBaud. U-Boot's A3720 UART driver can use > baudrates from 300 Baud to 6 MBaud. > > This changes all A3720 boards, since all of them include either > mvebu_armada-37xx.h or turris_mox.h config file. > > Signed-off-by: Pali Rohár > Reviewed-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan > --- > include/configs/mvebu_armada-37xx.h | 9 +++++++-- > include/configs/turris_mox.h | 9 +++++++-- > 2 files changed, 14 insertions(+), 4 deletions(-) > > diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h > index 2ad4325eaf..a2bea2947d 100644 > --- a/include/configs/mvebu_armada-37xx.h > +++ b/include/configs/mvebu_armada-37xx.h > @@ -17,8 +17,13 @@ > > #define CONFIG_SYS_BOOTM_LEN SZ_64M /* Increase max gunzip size */ > > -#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \ > - 115200, 230400, 460800, 921600 } > +#define CONFIG_SYS_BAUDRATE_TABLE { 300, 600, 1200, 1800, 2400, 4800, \ > + 9600, 19200, 38400, 57600, 115200, \ > + 230400, 460800, 500000, 576000, \ > + 921600, 1000000, 1152000, 1500000, \ > + 2000000, 2500000, 3000000, 3500000, \ > + 4000000, 4500000, 5000000, 5500000, \ > + 6000000 } > > /* > * For booting Linux, the board info and command line data > diff --git a/include/configs/turris_mox.h b/include/configs/turris_mox.h > index 51445ec60a..df312f2019 100644 > --- a/include/configs/turris_mox.h > +++ b/include/configs/turris_mox.h > @@ -22,8 +22,13 @@ > > /* auto boot */ > > -#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \ > - 115200, 230400, 460800, 921600 } > +#define CONFIG_SYS_BAUDRATE_TABLE { 300, 600, 1200, 1800, 2400, 4800, \ > + 9600, 19200, 38400, 57600, 115200, \ > + 230400, 460800, 500000, 576000, \ > + 921600, 1000000, 1152000, 1500000, \ > + 2000000, 2500000, 3000000, 3500000, \ > + 4000000, 4500000, 5000000, 5500000, \ > + 6000000 } > > /* > * For booting Linux, the board info and command line data > Viele Grüße, Stefan -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de