Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3385266pxb; Mon, 17 Jan 2022 19:15:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8GCwRV1RtSrpdz8Oiv6xOp8Ohb9YbNFBxFTbmH/zTaDAol52oGuWCKd4M9JWnhmbEaHK0 X-Received: by 2002:a63:6ac8:: with SMTP id f191mr21547121pgc.504.1642475759821; Mon, 17 Jan 2022 19:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642475759; cv=none; d=google.com; s=arc-20160816; b=aOXod6529Zc5fvoV+lUqzSkkL83+28zVTms/j+7qjQRNmVcbN4KGLoirGWmFlK4vpk gS1DkUK2cG/+5LJQWvBIPa6+qwJtbiUXuCOywm7RA9PzEJBDd/QRYXvp3/5BBG3uQZ8F XWw8hRglSZ+llbxUI6xFL8ePy3G6UNvZeEGf2QMMXD38pmL9iApieCOzmaoOSkD7r9wB o0X1TieqcxLW4U4jxrGmv9BgLd9bHyqsUke9fAraMRcBbNtby2r1j5l2LKvsa9qJtaMU FDcJw6TcVPFzgSECNIgOuQJLcAJ818Iyhf/mx8MS7B/i0hpresfr0AeLnXVo6oLM1ljc MxRg== 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=VgxuESe5BixYn6P/gSPcdDVNPdljfpr6eI70tiEUX80=; b=QVVwkSrzgEFOigD3pJFvpD0hb50ctLcnmKmOcrc8z/dyGt6zsRU5zNpvSoaXr4gIkS oBLjheeR92AQHCnc+gbAr6PNL/qxD8wSM1NgKcHBBokRoOeXoT8KGlE3Ojo9PewekKoh WMnSP3OwTR9SHdya9ncLKI5SO5q+QkzJ3FIefRRNdjqkDZGgVko9BdLoYrdKqVg2BFLu k5bJbHUIBsY6tFpAmlCWiiYygO5HoIMPOJkkjqbdvkYNZwtXxi+2VdbuYOp4YbU6JUxY 2Y4ejXUYjTXs9dK4cgQHLnRiX8hvQFm6VKgTTpBasPacMKCKqKV8IlEi/QlUi+8SescG P5Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HkBX/tuU"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s22si1138682pji.174.2022.01.17.19.15.48; Mon, 17 Jan 2022 19:15:59 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b="HkBX/tuU"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244905AbiARCYP (ORCPT + 99 others); Mon, 17 Jan 2022 21:24:15 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:39482 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245096AbiARCWz (ORCPT ); Mon, 17 Jan 2022 21:22:55 -0500 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 dfw.source.kernel.org (Postfix) with ESMTPS id 9C45060AB6; Tue, 18 Jan 2022 02:22:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A0ADC36AE3; Tue, 18 Jan 2022 02:22:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642472574; bh=S72zmxOG0k3L7U4zKehJLaSpMyumIyBnV8FZbTgUH0Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HkBX/tuU5GfLuhFJH0jgV/poT9VCi1ntEb+7KCkQuSyYHwjAI20NJLAlwGTf+Yb7+ mj2j+oQ4Mlt5XcBixvjA7DOO+D5qk5I1i3yNIOP4S2JzGAx4AzL/ygwwwtXGMHdT1R Gb3IviRTWtbMv0Rs6p2LqjHrRvlyq3GKecSuQT8FZJjAL1A8IrLjkQdJJs1YYlVFd6 ocSNUzFASeP8bkgJbmKiyiz6KXGpEAzjOnBw5e2b3HJr3mn1GuDJgN+eTb6QkBKaE5 cby0G6DN0Z0euZer+4Bnohm9g8G2ixWq4LeSzYxcKaVWu24SUBjkxRaJ4xFKLO8wDG 5sIPow/XARY9A== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Lukas Bulwahn , Arnd Bergmann , Shawn Guo , Sasha Levin , linux@armlinux.org.uk, linus.walleij@linaro.org, avolmat@me.com, daniel@thingy.jp, nathan@kernel.org, romain.perier@gmail.com, eugen.hristev@microchip.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 5.16 058/217] ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART Date: Mon, 17 Jan 2022 21:17:01 -0500 Message-Id: <20220118021940.1942199-58-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220118021940.1942199-1-sashal@kernel.org> References: <20220118021940.1942199-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lukas Bulwahn [ Upstream commit b0100bce4ff82ec1ccd3c1f3d339fd2df6a81784 ] 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 Reviewed-by: Arnd Bergmann Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- 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 98436702e0c7e..644875d73ba15 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 c8eb83d4b8964..3edbb3c5b42bf 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.34.1