From patchwork Fri Mar 17 19:34:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Tomsich X-Patchwork-Id: 740497 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3vlFv00twQz9rxl for ; Sat, 18 Mar 2017 06:35:56 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id D1D77C21CC9; Fri, 17 Mar 2017 19:35:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B2EF8C21C4F; Fri, 17 Mar 2017 19:35:13 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F407AC21C4F; Fri, 17 Mar 2017 19:35:11 +0000 (UTC) Received: from mail.theobroma-systems.com (vegas.theobroma-systems.com [144.76.126.164]) by lists.denx.de (Postfix) with ESMTPS id A42D9C21BE5 for ; Fri, 17 Mar 2017 19:35:11 +0000 (UTC) Received: from [86.59.122.178] (port=51764 helo=android.lan) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1coxeV-0005wK-9o; Fri, 17 Mar 2017 20:35:07 +0100 From: Philipp Tomsich To: u-boot@lists.denx.de Date: Fri, 17 Mar 2017 20:34:53 +0100 Message-Id: <1489779295-18612-2-git-send-email-philipp.tomsich@theobroma-systems.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1489779295-18612-1-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1489779295-18612-1-git-send-email-philipp.tomsich@theobroma-systems.com> Cc: Stefan Roese , Patrick Bruenn , Wills Wang , Klaus Goger , Philipp Tomsich Subject: [U-Boot] [PATCH 1/3] Kconfig: make CONFIG_BAUDRATE a first-class citizen X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Philipp Tomsich --- drivers/serial/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index b11f3ff..d570a2b 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -4,6 +4,15 @@ menu "Serial drivers" +config BAUDRATE + int "Default baudrate" + default 115200 + help + Select a default baudrate, where "default" has a driver-specific + meaning of either setting the baudrate for the early debug UART + in the SPL stage (most drivers) or for choosing a default baudrate + in the absence of an environment setting (serial_mxc.c). + config REQUIRE_SERIAL_CONSOLE bool "Require a serial port for console" # Running without a serial console is not supported by the