Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1635510pxb; Thu, 28 Oct 2021 07:21:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWR1b2LogAUyJ1zu0k1+ZIwPoReApJArtN7OcVdyZx0EL7bajwkegq8/NJgN3AAhj3Fbn9 X-Received: by 2002:a17:90a:9292:: with SMTP id n18mr13006571pjo.120.1635430917942; Thu, 28 Oct 2021 07:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635430917; cv=none; d=google.com; s=arc-20160816; b=S8BmgkcyR7GZzVbufPy4BiWdGl7MQgtaPfq2HlFHJbp7Jk7Atfzoe/H6BwqMG+81lK YKtufhWCviXNMphVNxWDw3GbKhOgEGPg6SEcgrYn/e2tRf8m8a+8gwGX14a79NJ1A6/b 1U3ZN+eTLfa4o9eljyl7MzTWKX60iElE1xVKi2CFgLFmTBl6uszIpg82LlBcuUb4tteb xmf4zqHiZxT/7oBldAGzT2INA1YO2ip830LKGKYIeK9jE82xz0q55tsg6M8o/HlP6066 tt2BMsnnSq0+Ks+qcqgZ6JXlyZWkyx1iccEbKKUDZv+jmb4zbulxds7GnJ9xzw95nkwF XN6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Jq2UWtG87dKtp2XZhwrbjMAgWZR6sHhFRmylDzZWc3U=; b=crpDnTpyiJjDmkv371/Aa3h/DXpHmdPEdS4BqwQWLSTxN1UB/JnsCXEdK+dahhP1xh Y7P0ABtKiF9lDbLzS5HXMqz/Aw4K1EzpADvpXXTBhs3KTd8IyGMqxZJibcSJr1nW5x80 XUI3uKCjwgVlX19Q2aJ6InMUk4xpYk2YNtvG3buu2icUPgdCtDclQRF+2++0L34K0+U7 u04ASnCQ2IdtqRxlI5RK2nw3hE/jY/6fK6GzVDER+I935PfaRH4hIcE9embDLuVE6U8K W/l7StG3+MWCcI/+3XqHoeAMQvborpku9W8Jnr42FOgN7JusOcmzKj+daYYxBPFTl3PC CMeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ga9puom6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x25si3731619pff.87.2021.10.28.07.21.45; Thu, 28 Oct 2021 07:21:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ga9puom6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231386AbhJ1OWs (ORCPT + 99 others); Thu, 28 Oct 2021 10:22:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231297AbhJ1OWj (ORCPT ); Thu, 28 Oct 2021 10:22:39 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11A85C0613B9; Thu, 28 Oct 2021 07:20:12 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id i5so2841146wrb.2; Thu, 28 Oct 2021 07:20:11 -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=Jq2UWtG87dKtp2XZhwrbjMAgWZR6sHhFRmylDzZWc3U=; b=Ga9puom6MDb1nGZqJz4kzpiYpvKxyb9Nm4IeObhoEB/Vyllld2oBBGENQHR5M90VZp t6IYEj07WV+x9NavL9+WLfTcp9SPEMOZEYlWpMWtWNMOkt0CUEjSGJN0/NNSJOzoxG1r gPMborydG7PWwy4+8i/EnGGjnaw4j6akgpVanezrqm0D8Ty7h8UCUem3TsgZE3w4PjH5 7r+4hlcJj22WKY5x9yJkkno2fzzvDwTTNr2pNgB6awOHHnQmxc3US9B9HdumUG0dHMyV pDWyXkldoEGup0spMTVH1ReipOAau4ZpTUImIBX0JqY58UCBKej5j0YT17ywMh9Ng9B/ IDXQ== 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=Jq2UWtG87dKtp2XZhwrbjMAgWZR6sHhFRmylDzZWc3U=; b=yBrdWgZJGaGOpyhXrQ11Xc6wmNW1k+yIS8hZFlc26FwoeNaE5CKkfsCCjSix3exe6o xpbUIlmHeAdoTFKOEuCrQQMPt3i5Y0xH7q/EWXc+Y5lAQW5ZgA3+iAYWuuCjxJhKIyxi YFyUf1mQt1kjb6aIYhxeLCWYfU1ESnvl6m5ahjc1PbberQU2QibleClnFyJGYJ46KShy 0qEV5f1hIl8GE1HUgavWt90c0wcUg5GdUOhRKY5okp/1U4KIa2NT7gw/SPPpk3rN9ppV AM0nuRiNLM9mQ847CNa71yM0b3P1k2/ESHqEj0ttJ0VUC5ZcYQo2HR9TsmSYZFRGdKlV HxRA== X-Gm-Message-State: AOAM533nBDA4V82VtSDww7Ag19R27E6UTJVYV6su+j4sis7EWgAoMVJW V3yJnN1wk//KrWCy288qulE= X-Received: by 2002:a5d:6da7:: with SMTP id u7mr5906547wrs.322.1635430810538; Thu, 28 Oct 2021 07:20:10 -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.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 07:20:10 -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 08/13] arm: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART Date: Thu, 28 Oct 2021 16:19:33 +0200 Message-Id: <20211028141938.3530-9-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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit 4b563a066611 ("ARM: imx: Remove imx21 support"), the config DEBUG_IMX21_IMX27_UART is really only debug support for IMX27. So, rename this option to DEBUG_IMX27_UART and adjust dependencies in Kconfig and rename the definitions to IMX27 as further clean-up. This issue was discovered with ./scripts/checkkconfigsymbols.py, which reported that DEBUG_IMX21_IMX27_UART depends on the non-existing config SOC_IMX21. Signed-off-by: Lukas Bulwahn --- arch/arm/Kconfig.debug | 14 +++++++------- arch/arm/include/debug/imx-uart.h | 18 +++++++++--------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 87aa6e92ee6e..7dad01729683 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -410,12 +410,12 @@ choice Say Y here if you want kernel low-level debugging support on i.MX25. - config DEBUG_IMX21_IMX27_UART - bool "i.MX21 and i.MX27 Debug UART" - depends on SOC_IMX21 || SOC_IMX27 + config DEBUG_IMX27_UART + bool "i.MX27 Debug UART" + depends on SOC_IMX27 help Say Y here if you want kernel low-level debugging support - on i.MX21 or i.MX27. + on i.MX27. config DEBUG_IMX28_UART bool "i.MX28 Debug UART" @@ -1481,7 +1481,7 @@ config DEBUG_IMX_UART_PORT int "i.MX Debug UART Port Selection" depends on DEBUG_IMX1_UART || \ DEBUG_IMX25_UART || \ - DEBUG_IMX21_IMX27_UART || \ + DEBUG_IMX27_UART || \ DEBUG_IMX31_UART || \ DEBUG_IMX35_UART || \ DEBUG_IMX50_UART || \ @@ -1540,12 +1540,12 @@ config DEBUG_LL_INCLUDE default "debug/icedcc.S" if DEBUG_ICEDCC default "debug/imx.S" if DEBUG_IMX1_UART || \ DEBUG_IMX25_UART || \ - DEBUG_IMX21_IMX27_UART || \ + DEBUG_IMX27_UART || \ DEBUG_IMX31_UART || \ DEBUG_IMX35_UART || \ DEBUG_IMX50_UART || \ DEBUG_IMX51_UART || \ - DEBUG_IMX53_UART ||\ + DEBUG_IMX53_UART || \ DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART || \ DEBUG_IMX6SX_UART || \ diff --git a/arch/arm/include/debug/imx-uart.h b/arch/arm/include/debug/imx-uart.h index c8eb83d4b896..3edbb3c5b42b 100644 --- a/arch/arm/include/debug/imx-uart.h +++ b/arch/arm/include/debug/imx-uart.h @@ -11,13 +11,6 @@ #define IMX1_UART_BASE_ADDR(n) IMX1_UART##n##_BASE_ADDR #define IMX1_UART_BASE(n) IMX1_UART_BASE_ADDR(n) -#define IMX21_UART1_BASE_ADDR 0x1000a000 -#define IMX21_UART2_BASE_ADDR 0x1000b000 -#define IMX21_UART3_BASE_ADDR 0x1000c000 -#define IMX21_UART4_BASE_ADDR 0x1000d000 -#define IMX21_UART_BASE_ADDR(n) IMX21_UART##n##_BASE_ADDR -#define IMX21_UART_BASE(n) IMX21_UART_BASE_ADDR(n) - #define IMX25_UART1_BASE_ADDR 0x43f90000 #define IMX25_UART2_BASE_ADDR 0x43f94000 #define IMX25_UART3_BASE_ADDR 0x5000c000 @@ -26,6 +19,13 @@ #define IMX25_UART_BASE_ADDR(n) IMX25_UART##n##_BASE_ADDR #define IMX25_UART_BASE(n) IMX25_UART_BASE_ADDR(n) +#define IMX27_UART1_BASE_ADDR 0x1000a000 +#define IMX27_UART2_BASE_ADDR 0x1000b000 +#define IMX27_UART3_BASE_ADDR 0x1000c000 +#define IMX27_UART4_BASE_ADDR 0x1000d000 +#define IMX27_UART_BASE_ADDR(n) IMX27_UART##n##_BASE_ADDR +#define IMX27_UART_BASE(n) IMX27_UART_BASE_ADDR(n) + #define IMX31_UART1_BASE_ADDR 0x43f90000 #define IMX31_UART2_BASE_ADDR 0x43f94000 #define IMX31_UART3_BASE_ADDR 0x5000c000 @@ -112,10 +112,10 @@ #ifdef CONFIG_DEBUG_IMX1_UART #define UART_PADDR IMX_DEBUG_UART_BASE(IMX1) -#elif defined(CONFIG_DEBUG_IMX21_IMX27_UART) -#define UART_PADDR IMX_DEBUG_UART_BASE(IMX21) #elif defined(CONFIG_DEBUG_IMX25_UART) #define UART_PADDR IMX_DEBUG_UART_BASE(IMX25) +#elif defined(CONFIG_DEBUG_IMX27_UART) +#define UART_PADDR IMX_DEBUG_UART_BASE(IMX27) #elif defined(CONFIG_DEBUG_IMX31_UART) #define UART_PADDR IMX_DEBUG_UART_BASE(IMX31) #elif defined(CONFIG_DEBUG_IMX35_UART) -- 2.26.2