From patchwork Thu Aug 18 14:56:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12947261 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 57528C00140 for ; Thu, 18 Aug 2022 14:58:24 +0000 (UTC) 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: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:In-Reply-To:References: List-Owner; bh=lV5bidL+wWR9ZiY5Xvl0LQ9Sv5Cg+HDJIeNlchCP2iQ=; b=BOOGZ14OdcnLPI 3dP3Jq2ogW5dKKo4vYkLQ8eRUy/NcbMVe4xFZqFD/C5RkhFMbkzMTRhHg7dHq5VbfTzAMvu19ET1e rTr3tNAi1Z1fZo3bnZXTqBJRa2riV3pJw0One+XancvfHyW56FJrmoSkl41N9sdTE1DhLtStyzhL0 JAwebp3US/GPjEp+2mXtsOFc7WTQGRwJBAU+ZkS3AxRILHJW3B6gNv9dr9tdq6E+jB/Z5BVTGFeEB vzTQzTmm8DzY/TsLweCo7owOBkUa6vA9aXsuq9hFIqunThHzd8YioC0XH0sp5+fqGa96lGdvy1rHP R1W90WDf/+MiiN2meYKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOgxM-006Ks7-Uc; Thu, 18 Aug 2022 14:57:13 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOgwn-006KY9-AM for linux-arm-kernel@lists.infradead.org; Thu, 18 Aug 2022 14:56:39 +0000 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 ams.source.kernel.org (Postfix) with ESMTPS id A583AB821CD; Thu, 18 Aug 2022 14:56:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04AC4C433B5; Thu, 18 Aug 2022 14:56:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660834594; bh=5Lk49R5XTDtUgxjV37M4QLhFkrgyV5d0l00kZ+JmOmg=; h=From:To:Cc:Subject:Date:From; b=iD/8SLE8Gi1Oj6vB1jLvD7ZUlWW4aOE0kXAABoOA0yezHDrwobJFhT5waMfIU3WwV vqpJ4/kp8iO6dHhGQPwPZBXtLv4l0iCFhA/8Hz11VfS21nMXMGJgFmO1cWr2ZlvZDs mXdAPO45HkTiMcj84bf6iDPGI4kXikvf7eD5k9GXZBZFKUf4LhxTDsSzRFVNZ1sQeb USyBAwY2xl7QurtfjPx90tHpuXy1VoJDWVaQppZvlSPmCaEfT4uuk4eW/Jsz01QPZz Gorn6Sv9G8R2RrX9OEJJLydiafgPTolv2LvgCVfMPgaW6mvR+zD0O552y+Xyu9+z5f PeW6Kyi2fHaUQ== From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Russell King , Linus Walleij , Geert Uytterhoeven , Krzysztof Kozlowski , Ard Biesheuvel , Sekhar Nori , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth Subject: [PATCH 0/5] ARM: clean up after multiplatform changes Date: Thu, 18 Aug 2022 16:56:11 +0200 Message-Id: <20220818145616.3156379-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220818_075637_718065_4371D2EE X-CRM114-Status: GOOD ( 16.44 ) 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 From: Arnd Bergmann Now that everything except StrongARM is unified under CONFIG_ARCH_MULTIPLATFORM, the option is rather meaningless in its current form. Rework the Kconfig logic to make this useful again, similar to the way that RISC-V has CONFIG_NONPORTABLE (with the opposite polarity), this now controls the visibility of options that get in the way of building generic kernels, while allowing custom kernels. One side-effect is that 'randconfig' builds now rarely hit strongarm machines, rather than testing them three quarters of the time. Arnd Bergmann (5): ARM: remove obsolete Makefile.boot infrastructure ARM: simplify machdirs/platdirs handling ARM: Kconfig: clean up platform selection ARM: fix CPU_V6 dependencies ARM: make ARCH_MULTIPLATFORM user-visible arch/arm/Kconfig | 123 ++++++------------------- arch/arm/Kconfig.debug | 8 +- arch/arm/Makefile | 40 +++----- arch/arm/boot/Makefile | 27 ++---- arch/arm/boot/bootp/Makefile | 35 ++++++- arch/arm/configs/assabet_defconfig | 2 + arch/arm/configs/badge4_defconfig | 2 + arch/arm/configs/cerfcube_defconfig | 2 + arch/arm/configs/collie_defconfig | 2 + arch/arm/configs/footbridge_defconfig | 2 + arch/arm/configs/h3600_defconfig | 2 + arch/arm/configs/hackkit_defconfig | 2 + arch/arm/configs/jornada720_defconfig | 2 + arch/arm/configs/lart_defconfig | 2 + arch/arm/configs/neponset_defconfig | 2 + arch/arm/configs/netwinder_defconfig | 2 + arch/arm/configs/pleb_defconfig | 2 + arch/arm/configs/rpc_defconfig | 2 + arch/arm/configs/shannon_defconfig | 2 + arch/arm/configs/simpad_defconfig | 2 + arch/arm/kernel/devtree.c | 2 - arch/arm/mach-at91/Makefile.boot | 4 - arch/arm/mach-davinci/Makefile.boot | 8 -- arch/arm/mach-dove/Makefile | 2 +- arch/arm/mach-dove/Makefile.boot | 4 - arch/arm/mach-ep93xx/Makefile.boot | 2 - arch/arm/mach-footbridge/Kconfig | 19 +++- arch/arm/mach-footbridge/Makefile.boot | 5 - arch/arm/mach-imx/Kconfig | 3 +- arch/arm/mach-imx/Makefile.boot | 0 arch/arm/mach-iop32x/Makefile.boot | 4 - arch/arm/mach-lpc18xx/Makefile.boot | 4 - arch/arm/mach-lpc32xx/Makefile.boot | 4 - arch/arm/mach-mv78xx0/Makefile | 2 +- arch/arm/mach-mvebu/Makefile | 2 +- arch/arm/mach-nspire/Kconfig | 2 +- arch/arm/mach-omap1/Makefile.boot | 4 - arch/arm/mach-omap2/Kconfig | 1 + arch/arm/mach-orion5x/Makefile | 2 +- arch/arm/mach-rpc/Kconfig | 21 +++++ arch/arm/mach-rpc/Makefile.boot | 5 - arch/arm/mach-s3c/Makefile.boot | 9 -- arch/arm/mach-sa1100/Kconfig | 25 ++++- arch/arm/mach-sa1100/Makefile.boot | 9 -- arch/arm/mach-stm32/Makefile.boot | 4 - arch/arm/mach-versatile/Kconfig | 2 + arch/arm/mach-versatile/Makefile.boot | 4 - arch/arm/mach-vt8500/Makefile.boot | 4 - 48 files changed, 181 insertions(+), 239 deletions(-) delete mode 100644 arch/arm/mach-at91/Makefile.boot delete mode 100644 arch/arm/mach-davinci/Makefile.boot delete mode 100644 arch/arm/mach-dove/Makefile.boot delete mode 100644 arch/arm/mach-ep93xx/Makefile.boot delete mode 100644 arch/arm/mach-footbridge/Makefile.boot delete mode 100644 arch/arm/mach-imx/Makefile.boot delete mode 100644 arch/arm/mach-iop32x/Makefile.boot delete mode 100644 arch/arm/mach-lpc18xx/Makefile.boot delete mode 100644 arch/arm/mach-lpc32xx/Makefile.boot delete mode 100644 arch/arm/mach-omap1/Makefile.boot create mode 100644 arch/arm/mach-rpc/Kconfig delete mode 100644 arch/arm/mach-rpc/Makefile.boot delete mode 100644 arch/arm/mach-s3c/Makefile.boot delete mode 100644 arch/arm/mach-sa1100/Makefile.boot delete mode 100644 arch/arm/mach-stm32/Makefile.boot delete mode 100644 arch/arm/mach-versatile/Makefile.boot delete mode 100644 arch/arm/mach-vt8500/Makefile.boot