Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2208583pxa; Mon, 3 Aug 2020 10:04:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxongnwZtP0c7IsueG9MGqMLfPvXG1GpGisNoLbSGLYYITr+wDZD7zAR59Hmh+iEN64G16A X-Received: by 2002:a50:fa94:: with SMTP id w20mr17006395edr.82.1596474291346; Mon, 03 Aug 2020 10:04:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596474291; cv=none; d=google.com; s=arc-20160816; b=NgK5d8xcaM0OHnm+fio1hSMIxDzdRtQsNj7EYBkcMd0Ry6RHARAyxkkQ1iGV0GYVlw Xak2GX3zWCkP84mq4pNHKeYAM2y3H1yxWZUfCcG6nIAuZTj8MpjBEsyIuZPx4CtSCYez 1rQllir2A55rfqCKM0cphV81SYgQ0rDdX72hfJxrOelav7MTlKpp2wBK1hp+USdW2XDp fOGNx/KjBPo6R2jy3/knDYvHbrcI1plUHatSFue1oeVuo7y3St1Xv25KoVbJ27rGMr+q xNGr9wYk8QWTQPHWDL0pqFSWX+SbAuLV7KBeAaatG7Jh1EMgdoc7AH7tTQxxAWooVf/f k/eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jBwkyuw6Fl2eLdGww+d1yV8XDoZJxZ/MJv7ZAPfQ2WA=; b=RHFLUcA6TTQEhoo/A0AuwBBr2XwTA0J8uPFT8wPkLRTFTSfj7r7M6IIH/16orkiRfL DiX7WJsZKsRpMxu36TAVibuxPv1/HLbKGIYmdMd8hg8+pZkpuS4B6uu3TPk+Nd9FBVvu EhW7Fzbjt1i95aTJTfJIsFu4Oc55c7W5f8QqpWbgOvRqE13XSDnFlk1jC5FJCMPf0BLI UkwNiTHI7CN8B+EYvhtI+oGLN4MNYhiqYsvL84MCXUAmkPVpr1pPGOyAishXE9Gy0dBB Ydh2cr31FSiEcbS1YXtTVryHfNT3FQY1YbxL0W3wfR9qWaY0cYiBhzXILKz/yfcWbGqI YWtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=mrtR61It; 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=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w22si9982951ejk.590.2020.08.03.10.04.29; Mon, 03 Aug 2020 10:04:51 -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=fail header.i=@crapouillou.net header.s=mail header.b=mrtR61It; 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=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728269AbgHCRCU (ORCPT + 99 others); Mon, 3 Aug 2020 13:02:20 -0400 Received: from crapouillou.net ([89.234.176.41]:37472 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726878AbgHCRCR (ORCPT ); Mon, 3 Aug 2020 13:02:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1596474107; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jBwkyuw6Fl2eLdGww+d1yV8XDoZJxZ/MJv7ZAPfQ2WA=; b=mrtR61Ity4ShIJyP0wEbIWP4ttGdxdSppr01yxHFFB1fXxCCPzL192K9LmZiKK6UOqLk7E 5qrCV3FX7X4P/00wr1jui9nJyQG+rqi6970ayRDKz6LZN8qcvdupHBKVjEnE/Jcxprukgo 59d9RFw3F/C6YQ8sbJVcI3bEcI5Oguo= From: Paul Cercueil To: Thomas Bogendoerfer Cc: Paul Burton , Krzysztof Kozlowski , =?UTF-8?q?=E5=91=A8=E7=90=B0=E6=9D=B0?= , od@zcrc.me, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Paul Cercueil Subject: [PATCH 04/13] MIPS: Kconfig: add MIPS_GENERIC_KERNEL symbol Date: Mon, 3 Aug 2020 19:01:15 +0200 Message-Id: <20200803170124.231110-5-paul@crapouillou.net> In-Reply-To: <20200803170124.231110-1-paul@crapouillou.net> References: <20200803170124.231110-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MIPS_GENERIC symbol now won't select any other configuration option. The MIPS_GENERIC_KERNEL will select all the options that the previous MIPS_GENERIC option did select, and will select MIPS_GENERIC as well. The whole point of this, is that it now becomes possible to compile a kernel for a SoC supported by the arch/mips/generic/ code, without making that kernel generic itself. Signed-off-by: Paul Cercueil --- arch/mips/Kconfig | 8 ++++++-- arch/mips/generic/Kconfig | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index f6bb446d30f0..17878c37fc84 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -94,14 +94,18 @@ config MIPS config MIPS_FIXUP_BIGPHYS_ADDR bool +config MIPS_GENERIC + bool + menu "Machine selection" choice prompt "System type" - default MIPS_GENERIC + default MIPS_GENERIC_KERNEL -config MIPS_GENERIC +config MIPS_GENERIC_KERNEL bool "Generic board-agnostic MIPS kernel" + select MIPS_GENERIC select BOOT_RAW select BUILTIN_DTB select CEVT_R4K diff --git a/arch/mips/generic/Kconfig b/arch/mips/generic/Kconfig index fd6019802657..5216c850b7e2 100644 --- a/arch/mips/generic/Kconfig +++ b/arch/mips/generic/Kconfig @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -if MIPS_GENERIC +if MIPS_GENERIC_KERNEL config LEGACY_BOARDS bool -- 2.27.0