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 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 12ACBC433F5 for ; Mon, 16 May 2022 16:49:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1D1C6839B9; Mon, 16 May 2022 18:49:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="Fy82vafF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 80FE584010; Mon, 16 May 2022 18:49:47 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1C57E83E40 for ; Mon, 16 May 2022 18:49:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A4740B8126A; Mon, 16 May 2022 16:49:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 461D9C34115; Mon, 16 May 2022 16:49:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652719783; bh=IaaM1+LOaktFSUqtsQHXzYfl49F3Fv1Ynd2NxLiW7Bg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fy82vafFq9bhZayXoIzXwaanhkj7KVfn6IM9NXJSRY0kTzXgJ5H79Hr23+szbHCdR GBZIEx4sJt6TLn/uXOiySYUgOW13+t3NRfjq8KCQBMiMEzUpY76Jb+7VqP2P3exZhS E7FFeCBVo0hDfCe89S8BFlbFqcYlt1ndO52sXc/tTH1nmn7Qebj5hlLI1tiiZjJi49 14OpmhAvSWatLYpgBMnXsD+J5hX1XvXmiaG2LnAIrnDiWPbH67dy4zhH0kMxmimw8M Uwk0NzNkYb+usalDRXHDGRC7ypO+Y4mR+GO1k0IMzfz3qwr/oCyDOjdtA4ssGyImtP H8gQv3aBdJgRA== Received: by pali.im (Postfix) id 4F064708; Mon, 16 May 2022 18:49:40 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , Marek Behun Cc: u-boot@lists.denx.de Subject: [PATCH 7/5] serial: Add new config option TPL_DEBUG_UART_BASE Date: Mon, 16 May 2022 18:49:09 +0200 Message-Id: <20220516164909.7935-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220506090517.5935-1-pali@kernel.org> References: <20220506090517.5935-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.5 at phobos.denx.de X-Virus-Status: Clean TPL_DEBUG_UART_BASE is same as DEBUG_UART_BASE, but applies only for TPL. Signed-off-by: Pali Rohár --- drivers/serial/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 46726d76b162..f6425a530e57 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -515,6 +515,13 @@ config SPL_DEBUG_UART_BASE help This is the base address of your UART for memory-mapped UARTs for SPL. +config TPL_DEBUG_UART_BASE + hex "Base address of UART for TPL" + depends on TPL && DEBUG_UART + default DEBUG_UART_BASE + help + This is the base address of your UART for memory-mapped UARTs for TPL. + config DEBUG_UART_CLOCK int "UART input clock" depends on DEBUG_UART -- 2.20.1