Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp828391ybj; Tue, 5 May 2020 08:10:06 -0700 (PDT) X-Google-Smtp-Source: APiQypL509XF71UdgcqnEi4eoGYVi4HaImSuFIZDruJzfT+B6ysJFikQs7LK5uxtLetSuRCj542/ X-Received: by 2002:a17:906:c839:: with SMTP id dd25mr3115910ejb.164.1588691406671; Tue, 05 May 2020 08:10:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588691406; cv=none; d=google.com; s=arc-20160816; b=t4TQtVbwu/NW6JfIC0dNmboEtQJ+3A/pbAjBJAQFZWYjGoSYDdukTM4A1+foWDNF4R 6C+ZUeuvK6aMc2ZhNvprdw/T+LIDdNDWnRgylkP6XJNu0DyYfurCMG/lITfe1IKV4et3 ZMZEjFsGQjXgMAI11RkdKn8XeuoBH+RA/IyFlekgvRXI/YSUG0A5WZo2yS+ffGlznORo PtxGxrdDXUgCxmo1wcgrOY3FdKmfoRCYOHwNt5wC1CGetHZJEYWaK0pb7v5rvuTMgPCK 85PlRCvDHtr4EGY46MGU6tyTpHUOx1vR4LNQozr7nQGm8YJWpl1gQQtg/qEEIaCUHcPC U8dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=A2hmhRNrZXj6PomeA/E3UDL7rurJr5TbxSHLkDDeBPU=; b=Y15gp48QKEpxtGyOb7gkD2LZZggzQex/fHeIRiTZ+yAH9ZiZGC+L2Lzx4yqXXNC0sd ONfVyM5gyj4z6v2IKRZm2fhX1PLTfv6Q5Wt/LT1Ks/11Ej+YUv2DGFGn7dDBmQLgzuSG bJO/5PdtS6kKmB4k51Zs6cZ3G8VP4++bJ1oYTJmhMcKZRt/OLP9wMHf3LzKmjMAKSV4z 6xCqiJx4PnPofAU1Zh0iDFzbh9bKNU9rljonrCSw/EEURVbZM6k5+N7ZWPYW56H+BIFu xdzzA6UgEGXGzrtxRy7khWjhZMLArlmwDI6NBeMvMM/bzg8wJfdwll+WSRh2msJ2wYlm QT6A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c23si1422803edy.407.2020.05.05.08.09.42; Tue, 05 May 2020 08:10:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729951AbgEEPHf (ORCPT + 99 others); Tue, 5 May 2020 11:07:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729893AbgEEPHc (ORCPT ); Tue, 5 May 2020 11:07:32 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA3FAC0610D5 for ; Tue, 5 May 2020 08:07:31 -0700 (PDT) Received: from ramsan ([IPv6:2a02:1810:ac12:ed60:bd97:8453:3b10:1832]) by baptiste.telenet-ops.be with bizsmtp id b37U2200h3VwRR30137UdS; Tue, 05 May 2020 17:07:28 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1jVzAO-00028c-7r; Tue, 05 May 2020 17:07:28 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1jVzAO-0000R5-5s; Tue, 05 May 2020 17:07:28 +0200 From: Geert Uytterhoeven To: soc@kernel.org Cc: Arnd Bergmann , Kevin Hilman , Olof Johansson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Linus Walleij Subject: [PATCH v2 14/15] ARM: realview: Drop unneeded select of multi-platform features Date: Tue, 5 May 2020 17:07:21 +0200 Message-Id: <20200505150722.1575-15-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200505150722.1575-1-geert+renesas@glider.be> References: <20200505150722.1575-1-geert+renesas@glider.be> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Support for ARM Ltd. RealView systems depends on ARCH_MULTIPLATFORM, which selects USE_OF. Support for ARMv6 and ARMv7 variants depends on ARCH_MULTI_V6 or ARCH_MULTI_V7, which both select ARCH_MULTI_V6_V7 and thus MIGHT_HAVE_CACHE_L2X0. Support for ARMv7 variants depends on ARCH_MULTI_V7, which selects HAVE_SMP. Hence there is no need for the affected RealView-specific symbols to select any of them. Signed-off-by: Geert Uytterhoeven Cc: Linus Walleij Acked-by: Arnd Bergmann --- v2: - Add Acked-by. --- arch/arm/mach-realview/Kconfig | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm/mach-realview/Kconfig b/arch/arm/mach-realview/Kconfig index 44ebbf9ec67364db..0f139a20e113d6c3 100644 --- a/arch/arm/mach-realview/Kconfig +++ b/arch/arm/mach-realview/Kconfig @@ -21,7 +21,6 @@ menuconfig ARCH_REALVIEW select POWER_RESET_VERSATILE select POWER_SUPPLY select SOC_REALVIEW - select USE_OF help This enables support for ARM Ltd RealView boards. @@ -56,8 +55,6 @@ config REALVIEW_EB_ARM1176 config REALVIEW_EB_A9MP bool "Support Multicore Cortex-A9 Tile" depends on MACH_REALVIEW_EB && ARCH_MULTI_V7 - select HAVE_SMP - select MIGHT_HAVE_CACHE_L2X0 help Enable support for the Cortex-A9MPCore tile fitted to the Realview(R) Emulation Baseboard platform. @@ -66,7 +63,6 @@ config REALVIEW_EB_ARM11MP bool "Support ARM11MPCore Tile" depends on MACH_REALVIEW_EB && ARCH_MULTI_V6 select HAVE_SMP - select MIGHT_HAVE_CACHE_L2X0 help Enable support for the ARM11MPCore tile fitted to the Realview(R) Emulation Baseboard platform. @@ -75,7 +71,6 @@ config MACH_REALVIEW_PB11MP bool "Support RealView(R) Platform Baseboard for ARM11MPCore" depends on ARCH_MULTI_V6 select HAVE_SMP - select MIGHT_HAVE_CACHE_L2X0 help Include support for the ARM(R) RealView(R) Platform Baseboard for the ARM11MPCore. This platform has an on-board ARM11MPCore and has @@ -87,7 +82,6 @@ config MACH_REALVIEW_PB1176 depends on ARCH_MULTI_V6 select CPU_V6 select HAVE_TCM - select MIGHT_HAVE_CACHE_L2X0 help Include support for the ARM(R) RealView(R) Platform Baseboard for ARM1176JZF-S. @@ -103,8 +97,6 @@ config MACH_REALVIEW_PBA8 config MACH_REALVIEW_PBX bool "Support RealView(R) Platform Baseboard Explore for Cortex-A9" depends on ARCH_MULTI_V7 - select HAVE_SMP - select MIGHT_HAVE_CACHE_L2X0 select ZONE_DMA help Include support for the ARM(R) RealView(R) Platform Baseboard -- 2.17.1