From patchwork Thu Oct 28 14:19:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Bulwahn X-Patchwork-Id: 12590321 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 0CB2CC433F5 for ; Thu, 28 Oct 2021 14:21:38 +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 D0C006112F for ; Thu, 28 Oct 2021 14:21:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D0C006112F 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=rmuc41uhruHoHjrbsAR6fjMog4pDM90lGaGy1Oic/qk=; b=mLcWvTOnwLk9Zv jZUy8+bL8VV+qRTD2McfwOJyYMNI3U9gy7GgCI6ZodVMjNcRjKySUL+V/q8E8mMZV+FhNNcDt99RI +7N1DrJvvnr7Np6/QJ9vPGc1hgqAIriCfGDKa2RqyJkxfCx+yszJJ0PIuBFiDhVkcG590BXcbyRbP 6oJTglSlx+1jP5d6ZxkWlbbXPHureZPTRFcZCb/xSD6zKA/oMH8lxvzPFEhx9ajiMXhdm3DTIcLOL dpq9VBANSeDFlG0ulGz1ChTovuWs1w6w8fY2zsOThRMS/asCHKKn7oLzCroMkMJfiKQW/TxCZTkRy LnbZlTz8rg+JXRRXhM8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mg6GG-0086IV-Ar; Thu, 28 Oct 2021 14:20:08 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mg6G4-0086Du-Ax for linux-arm-kernel@lists.infradead.org; Thu, 28 Oct 2021 14:19:57 +0000 Received: by mail-wr1-x42a.google.com with SMTP id k7so10453027wrd.13 for ; Thu, 28 Oct 2021 07:19:55 -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=V3KiU206SAU31NUfwpS2+BkRGT20ITYrNtM1Dgg2dPQ=; b=EU3xEG/3dC9YXPW/ccVFr8K3ChYeYFaYcNGGtHp0RPz/O0Ec7X9YV2fflD58Vb/Xso e9oHK0zp1VWtKz/TtPv+KlKv0VY+4wEx+KVkrpdQYgTP+IHKbLJs/vKYgBthSHiLH7Si vHKFVvvoU6t7ADJSwLn97xxpdkBa55eS7kQUVcD/5VuGcYQ0EZQdV/4kyNJR8rHzS9Dw zuoHixsB5EbAsiKAUaK41cjTNEj2Fw4a5SWEgWTSkcH1v/pENY5Jitp3svHZAmly13W7 zxc/xp4Gm+1aj3Su20bhbwplVlkYEdigikzOeMADEPj/FMzWEveXImKKEM85ea1SdlZA zcXw== 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=V3KiU206SAU31NUfwpS2+BkRGT20ITYrNtM1Dgg2dPQ=; b=5tZo39FIMdPr9HYYb/yyb48sH3l5SraoVqlxUld8hx94qqHo4I9IZ3kgOIr0U3i2LQ AG2EPaFleZM3I6h6GgU4MwJiSq5/xMoQomSny7IrglmNE0A/6qQz7FofOuVcxal5kR6M wzhxOTtwoMWG0JbJZOw6CRLeA0kHOwXm3CapRXdi/5VjSnZ8Jzcpp5scWeCaML8OKOu8 22meNGjp2xj848ZU25aTF22MM1K5mVWczacYBwJlBqBvPhCaAz5zBvNKHLkURsmuxbB2 ekN/xTFLcGMle5XAWQOo8dzwKIoW0Vrnsspx0nAEgyk8fTgDDC0DkkcewoEaqcpp2ow+ KWqg== X-Gm-Message-State: AOAM531pfHyygKaceEi3LDAr5BLd4xtYYFuh2m35Whbtap9FKKqC4arb rQ+zdx+9CJgAskFra+2YZz8= X-Google-Smtp-Source: ABdhPJwg3ZOGkOv7nfE4Q1CFcC2U67ylJHTUMHUX7NHf7xKUz3nmHuxjhKWOUj9v1S9QjSEYhiHxYg== X-Received: by 2002:adf:c00d:: with SMTP id z13mr5966699wre.299.1635430794430; Thu, 28 Oct 2021 07:19:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 07:19:54 -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 01/13] arm: debug: remove obsolete debug code for DEBUG_ZTE_ZX Date: Thu, 28 Oct 2021 16:19:26 +0200 Message-Id: <20211028141938.3530-2-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_071956_401503_DAA4EFCD X-CRM114-Status: GOOD ( 11.03 ) 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 89d4f98ae90d ("ARM: remove zte zx platform") removes the config DEBUG_ZTE_ZX. Hence, since then, the "ifdef CONFIG_DEBUG_ZTE_ZX" in ./arch/arm/include/debug/pl01x.S is dead code. Fortunately, ./scripts/checkkconfigsymbols.py detects this and warns: DEBUG_ZTE_ZX Referencing files: arch/arm/include/debug/pl01x.S So, remove the obsolete ifdef CONFIG_DEBUG_ZTE_ZX. Signed-off-by: Lukas Bulwahn Reviewed-by: Arnd Bergmann --- arch/arm/include/debug/pl01x.S | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm/include/debug/pl01x.S b/arch/arm/include/debug/pl01x.S index 0c7bfa4c10db..c7e02d0628bf 100644 --- a/arch/arm/include/debug/pl01x.S +++ b/arch/arm/include/debug/pl01x.S @@ -8,13 +8,6 @@ */ #include -#ifdef CONFIG_DEBUG_ZTE_ZX -#undef UART01x_DR -#undef UART01x_FR -#define UART01x_DR 0x04 -#define UART01x_FR 0x14 -#endif - #ifdef CONFIG_DEBUG_UART_PHYS .macro addruart, rp, rv, tmp ldr \rp, =CONFIG_DEBUG_UART_PHYS