Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2763127pxk; Sun, 6 Sep 2020 12:32:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwai1aRbY9UtoW7A2NlgGfU+OVmW6VFrOfoXxEMTjIv8edQIP8XNigbMKXbMtVDGGSwg8dZ X-Received: by 2002:a17:907:728e:: with SMTP id dt14mr12061219ejc.505.1599420720309; Sun, 06 Sep 2020 12:32:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599420720; cv=none; d=google.com; s=arc-20160816; b=c84DohXF8P897OQVPtge8nHugWr7f1KagW5me16Mh2S4iJBV1HF4tUcojtAJtGi/0q KK7Y2sfRW9721SxQVlck6zjyIBYx/9dG4+YrRNSJEm4ouNj2Fx1nwFaDwYHVJ2UJ+L6W cfYjAu2mEUQ3akHTX189kefnOeBu7om1TSjqCDLgJVYgMpAGAGPB7hc6uawt+lFixAd8 32z22/YpG2R1ps5ViPuAvitSpthS+8bWSEHUqO/2yOHm9ZygJEd2/44p4C7+ah8X6BC+ n4qwzzvd5oLl5Mu3IbXpzsPN7Askr09JSIerCB4x+M4FMSE8MvnrzQHr6LcjT+Xfcbq3 N91A== 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=rZVAQY7y1f8+ZcJvATWT5KFcw8sq2N5SZcEHU17/r9c=; b=OPYEGhaRZRBx7wtG9FEfaCGOwC6NZBPAJN3QpWoK/oTJ431QRXB33d/4jFMoqW0m0W hMmuGTyrb+eRko2zmH2Qcwb+HIQg7h8aitmQ5FS8brtzKjlvShqGzACqWQNAHypKytpe 7kxLsXs4AfMwX09cG7/ZOZ42Cfa/ad39nlq2oFe3ohYICM+pF9jz5duB0YdIul5HQw1H MgAkOTPFKjVHdRKGf/rIVkeVskosh2N0+ahiqyNNBOdy94cpJ8lfCIfP+KvPrlrJcZbf TUQeF0DvwCvpb1KkpNexf4sG0lWpAt1VexJF74Jc2clCzfVUSCzSCMxx3M6fRxprsyvp 3J2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=Ei7nV9N1; 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 d27si7265774ejd.549.2020.09.06.12.31.38; Sun, 06 Sep 2020 12:32:00 -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=Ei7nV9N1; 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 S1726575AbgIFTaj (ORCPT + 99 others); Sun, 6 Sep 2020 15:30:39 -0400 Received: from crapouillou.net ([89.234.176.41]:35838 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725773AbgIFTai (ORCPT ); Sun, 6 Sep 2020 15:30:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1599420589; 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=rZVAQY7y1f8+ZcJvATWT5KFcw8sq2N5SZcEHU17/r9c=; b=Ei7nV9N1ye8gHj1/puvoobQ6t2oaNVxF16d+gt/epX8x7hCK0kUD/yRUQ4lkD8g38SRvlu gYpIP+y14tDAF5AnOo61RvO3hZcujw6UXuDYV8N2fIq5GSppQLeuep8NxHjgEWLTlNerp8 MYqhoxU9cQ9rDBnie8dyDPtg2sXqOH8= From: Paul Cercueil To: Thomas Bogendoerfer Cc: "Maciej W . Rozycki" , Paul Burton , Zhou Yanjie , od@zcrc.me, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Paul Cercueil Subject: [PATCH v3 05/15] MIPS: Kconfig: add MIPS_GENERIC_KERNEL symbol Date: Sun, 6 Sep 2020 21:29:25 +0200 Message-Id: <20200906192935.107086-6-paul@crapouillou.net> In-Reply-To: <20200906192935.107086-1-paul@crapouillou.net> References: <20200906192935.107086-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 --- Notes: v2-v3: No change 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 5f4c2d43c073..0c9270ee9081 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -93,14 +93,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.28.0