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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB1DBC433EF for ; Fri, 8 Oct 2021 19:58:00 +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 47BAC61027 for ; Fri, 8 Oct 2021 19:58:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 47BAC61027 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AC58A83624; Fri, 8 Oct 2021 21:57:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="AP15M0dL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 162358361E; Fri, 8 Oct 2021 21:57:11 +0200 (CEST) Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0081E83598 for ; Fri, 8 Oct 2021 21:57:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mr.nuke.me@gmail.com Received: by mail-oo1-xc29.google.com with SMTP id k11-20020a4abd8b000000b002b5c622a4ddso3233223oop.1 for ; Fri, 08 Oct 2021 12:57:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JHbiz0iaVRMg6HsVaEAEKWQSFDBMaD3bbrJ9TcJR2B4=; b=AP15M0dLFsorgRC2QzVXDU6TCSUoveFEcnQyJESxFYiLtqnRk6AlDeI82hp/NG9d0E uSGLiDhhW0JgHeO+ul25z0jIhmW4+jJSRhGU6ahTIj8c1sylokHeqDyeTgGunMuCNglJ ym6jvecpzBwWYYEE2JcMasd0bj11sBBoaPGFs+zuK5UYPVAh23a2ANLXouwzdwaL8wGG wYAXsoF+jd8nUZaPpU9hVu7ggwrth6mb7n5OW37nj0uTJt/jMe6O253EPnym4kMZ4K5v hzQ9g+MmsXVlYDHBHyZ71CFKSb0z7R4wWnWi1gIAPdWPTgolfKTC8k1k4ZXndIlyQY/P RXIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JHbiz0iaVRMg6HsVaEAEKWQSFDBMaD3bbrJ9TcJR2B4=; b=r2CRmGl6QRqrzYCKxX2Pf6424dI9P586jGsom0uXntk/bUfYpwrDrEU1tql7rIlMFF phizjn2l+hnmmG6w3iEd1T1YxeIs6CsEUVO6z3Gae38opRpC0XsB9ycLcjdJKIG8V6sE ehTo1QJFAOzOEJSoqXg8T0riAcuPge6gZezJmoHo1enX4xH9ZRXcZ7tiCjNXcEv5TIJP mX1LFCcNUcMxkvbwELYvlBBJfMkQqxnahJqO06SvgW381D4Y895HkNuMN5lTexpIoK2v rXB/wcz+ECqDb/mHenxrutpMU/2E3mWwNuyt9mmp1d8qu0BGVJ4QdxATQtqqXGdNpl5R gK8Q== X-Gm-Message-State: AOAM533UkV9SzH9WU7nLzqGYTMAlOr7qkdnUnMiIjK4L2lu5iWUM71UJ mjVTw3qaxAUH8h5fejP7yIvGF0vBVEE= X-Google-Smtp-Source: ABdhPJxDFHRcvMqbt00qpAYb8+Oogypb1l/nFVs90D3zOuuXH+1bPQKIW3ECvb+gk0KnFcVUWHWWsg== X-Received: by 2002:a4a:e8c5:: with SMTP id h5mr9313720ooe.71.1633723022387; Fri, 08 Oct 2021 12:57:02 -0700 (PDT) Received: from nuclearis3.lan (c-98-195-139-126.hsd1.tx.comcast.net. [98.195.139.126]) by smtp.gmail.com with ESMTPSA id x8sm67409otg.31.2021.10.08.12.57.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 12:57:01 -0700 (PDT) From: Alexandru Gagniuc To: u-boot@lists.denx.de, uboot-stm32@st-md-mailman.stormreply.com, patrick.delaunay@foss.st.com Cc: Alexandru Gagniuc , patrice.chotard@foss.st.com, etienne.carriere@linaro.org Subject: [PATCH v3 03/13] stm32mp1: Add support for baudrates higher than 115200 Date: Fri, 8 Oct 2021 14:56:45 -0500 Message-Id: <20211008195655.46046-4-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211008195655.46046-1-mr.nuke.me@gmail.com> References: <20211008195655.46046-1-mr.nuke.me@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.103.2 at phobos.denx.de X-Virus-Status: Clean The UART can reliably go up to 2000000 baud when connected to the on-board st-link. Unfortunately u-boot will fall back to 115200 unless higher rates are declared via CONFIG_SYS_BAUDRATE_TABLE. Signed-off-by: Alexandru Gagniuc Reviewed-by: Patrick Delaunay --- include/configs/stm32mp1.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h index 06cd153d13..b12896bc07 100644 --- a/include/configs/stm32mp1.h +++ b/include/configs/stm32mp1.h @@ -16,6 +16,10 @@ #define CONFIG_ARMV7_SECURE_MAX_SIZE STM32_SYSRAM_SIZE #endif +#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \ + 230400, 460800, 921600, \ + 1000000, 2000000 } + /* * Configuration of the external SRAM memory used by U-Boot */ -- 2.31.1