From patchwork Thu Oct 28 14:19:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Bulwahn X-Patchwork-Id: 12590325 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 B3F2AC433EF for ; Thu, 28 Oct 2021 14:22:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7493461073 for ; Thu, 28 Oct 2021 14:22:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7493461073 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LQJkNOrC3pWUEsaYJCkn0sjamDTBGMrK9whxIy7SQQI=; b=ERvczvtfg5sS9+ +QmnGxwb7p3VcwZsHbgm43UMCYkcqxByI1QJMYFWvggzOWZfDmaw94RPZ8WbWWHtpp8c3fj7BtXlt HEdPZMFladMJCnDjhbwxa2Y1fY2w+9PP1ReeN5w049TRygzi0v3Snf1+8S47rQFFtv5BaPziAii8+ 7c1SEgpKf7E61YJaIk2nyKrF4K0GGDUvtXBCIbJYvGrAYJJOhrs/JlwE3nhfGiJjL4X3v6JOryAVb dwcLM612KYiExY4obN0oKXWyCm5n2XUYOT6I9Ji+6fDUNpYjcCC+dxYrBdpvyhCeV8smXRknFDZaQ KPry/0KsgPr8cb6g2JSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mg6GR-0086Mz-SP; Thu, 28 Oct 2021 14:20:20 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mg6G5-0086EN-W8 for linux-arm-kernel@lists.infradead.org; Thu, 28 Oct 2021 14:19:59 +0000 Received: by mail-wr1-x433.google.com with SMTP id e4so10486663wrc.7 for ; Thu, 28 Oct 2021 07:19:57 -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=gyvzNad0Xx5R9v5YeX/jyfVB5cjv8pWIdrWsMdtOKeU=; b=pnI+cDc9pgmeUAnEprJ7/g4BWiQOQtOOfpQNHyw3VF2sBk/yxpLfYNtbnA4fAvsbzv +DdHd6ejGKxE3mz93ID2DTOqwhVuISJvg+EYrF122ReobcnkAtX3JdQaMCfYD5aOdqxt tn+DosTSrlI2W7nHzvKH80PUuO8b+5SkBOGl5wnksLRPsgqEabF4Av2vkPbXeq3JMdeG eIQOPCkjUT8qbpJfBNSVZy8OPEftyNcMBoyeTW0qUaTDRVCuKcfC6PmVliubGi7YiuEn oLehjjga+IdY0b9Zznh0Zne8SGdgDPw49DXo88qGqGf8udnQqu/8tCdT/tybaYzf9BDb +Hyw== 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=gyvzNad0Xx5R9v5YeX/jyfVB5cjv8pWIdrWsMdtOKeU=; b=sfpsX6juS/oq30ZuGhJ+nKFALThA/AcYpWUKPeAnTnodpFI5TluoRHgtFAHcaZPfr5 br71tXgN/5oCdrrLgGoMG5H7FFNkk5YVLu/WWp/GYW6QHwZxX9y5i8g/2meqInRb0xGP x14cM2qQEmqEq5PMr0+QlqAic1sSiFLkmVlZlArKLlRlsbWkJoWmx/uNHthG1Y9jQQ+D eDt8g0vnURxnAWBCIjTYMTDIZfpaCKYxSNhEJthjbXlG3GYpvKAh4Jn9nsC4vEtAGcIT f6+rPibXAnwgA+OskXteTG8SqVIeiytUMuNOwhnhk8RCEdTyrRgB6nASvuak+hj2hXMX FlqQ== X-Gm-Message-State: AOAM531EgyEep/LWAgvMPwuc7Bod4LIGAgSXIRpQyOXiYbfTvUfiN9Xa uL2bF+cgA/7rzcR3hX4bY5Q= X-Google-Smtp-Source: ABdhPJyezFwmqtsLn5aBEOCfGdfBxksRSaz4BYGyosYiXwUImog8O0a6Qn+fFMD6OKMmrx4b80PO/Q== X-Received: by 2002:adf:cc8d:: with SMTP id p13mr1609524wrj.274.1635430796683; Thu, 28 Oct 2021 07:19:56 -0700 (PDT) Received: from localhost.localdomain (i5C74E249.versanet.de. [92.116.226.73]) by smtp.gmail.com with ESMTPSA id m2sm6284546wml.15.2021.10.28.07.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 07:19:56 -0700 (PDT) From: Lukas Bulwahn To: Russell King , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Sekhar Nori , Bartosz Golaszewski , Linus Walleij , Imre Kaloz , Krzysztof Halasa , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Dinh Nguyen , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH 02/13] arm: debug: reuse the config DEBUG_OMAP2UART{1, 2} for OMAP{3, 4, 5} Date: Thu, 28 Oct 2021 16:19:27 +0200 Message-Id: <20211028141938.3530-3-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211028141938.3530-1-lukas.bulwahn@gmail.com> References: <20211028141938.3530-1-lukas.bulwahn@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211028_071958_062614_0570A106 X-CRM114-Status: GOOD ( 13.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Commit d2b310b0234c ("ARM: debug: Use generic 8250 debug_ll for omap2 and omap3/4/5 common uarts") adds address definitions of DEBUG_UART_PHYS for OMAP2, OMAP3, OMAP4 and OMAP5 in ./arch/arm/Kconfig.debug. These definitions depend on DEBUG_OMAP{2,3,4,5}UART{1,2}; however, only DEBUG_OMAP2UART{1,2} are defined in ./arch/arm/Kconfig.debug, and DEBUG_OMAP{3,4,5}UART{1,2} are not defined. Hence, the script ./scripts/checkkconfigsymbols.py warns here on non-existing symbols. Simply reuse the config DEBUG_OMAP2UART{1,2}; there is no need to define separate config symbols for OMAP{3,4,5}. So, just delete the dead references to DEBUG_OMAP{3,4,5}UART{1,2}. Signed-off-by: Lukas Bulwahn Reviewed-by: Arnd Bergmann --- arch/arm/Kconfig.debug | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 98436702e0c7..83484564b1d9 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1643,10 +1643,8 @@ config DEBUG_UART_PHYS default 0x48020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1 default 0x48022000 if DEBUG_TI81XXUART2 default 0x48024000 if DEBUG_TI81XXUART3 - default 0x4806a000 if DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || \ - DEBUG_OMAP4UART1 || DEBUG_OMAP5UART1 - default 0x4806c000 if DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || \ - DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2 + default 0x4806a000 if DEBUG_OMAP2UART1 + default 0x4806c000 if DEBUG_OMAP2UART2 default 0x4806e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4 default 0x49020000 if DEBUG_OMAP3UART3 default 0x49042000 if DEBUG_OMAP3UART4 @@ -1782,10 +1780,8 @@ config DEBUG_UART_VIRT default 0xfa020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1 default 0xfa022000 if DEBUG_TI81XXUART2 default 0xfa024000 if DEBUG_TI81XXUART3 - default 0xfa06a000 if DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || \ - DEBUG_OMAP4UART1 || DEBUG_OMAP5UART1 - default 0xfa06c000 if DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || \ - DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2 + default 0xfa06a000 if DEBUG_OMAP2UART1 + default 0xfa06c000 if DEBUG_OMAP2UART2 default 0xfa06e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4 default 0xfa71e000 if DEBUG_QCOM_UARTDM default 0xfb002000 if DEBUG_CNS3XXX