Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp61127pxa; Tue, 11 Aug 2020 17:20:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ8g62cxZFhXmHwQIIJioTyo62J0YcGS0hwlrxVm8zj/3cA6huwHh0qeyaEKvr2YTEe0Ip X-Received: by 2002:a17:906:33d1:: with SMTP id w17mr30725397eja.68.1597191627081; Tue, 11 Aug 2020 17:20:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597191627; cv=none; d=google.com; s=arc-20160816; b=wMpxzujuVm1BRqizTxmY8CDjuw4zoWM3rVLimHvfQXiM0UYwCpM7RGsF3ZxaZ5QNnz HHS+ZB4kMPcYe99YQLL82Wdl1GzQpccsALc27ZHsmuqvbQZbiffFKQzmy0i+78kMAc1b 19nzfh0AuG3jNufm4KUUdEVpgY1qI9AYJ88rdv6+Ui/9ZvtDpkVBb1+QCVZjpYMxWPEx PgaV5HG/ZLyBAeOCCIURXE2Ce1+NT5stDuaer/Qezvz8aCVOhz6MHps+IKyAkLXHxM11 gu8pkSM3yDUGB8oVV6e466x3zv5AKwKomK9LgMvGhbR3XhAcPtQxEOS2ujjNrBtFHRc8 Fawg== 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=TBJe4O2M/Bbm5bjKqrnbx2BYaBZ10Szr3hxvh+t6njs=; b=FLTwSfan0xcCCti/Gbq8WFxpE6z1gLoa+Bkx2AT0MvNAtwSq7pz0UhEo8X8VWmmuYL 18eE91xonwGAD9xJRsN7BToITsqzyEvQJPuDkBI87V/6HmatCks9taOWO6DwzHmDQeqr nAu2RTvasb69awAPuQiKZ81fk6YwA4LlqvPSEcbmHAIsvv7StyYbk3vjMJ32XV2AE4Vs OygCxbfaf+J2P9/aOOJfGwbuziJsB43HQ7a5US2dfdbUx2gpIe0Kmp6B9HHa9RCCgh2u LPDFXDq409sbyWmzxaQccSX9as2LzODmoCtHeIHcb7qTjXWCAy8+hrSfPVO4EUz7gNH7 58RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b="NU/goe7e"; 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 j12si242674edq.101.2020.08.11.17.20.02; Tue, 11 Aug 2020 17:20:27 -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="NU/goe7e"; 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 S1726637AbgHLAPv (ORCPT + 99 others); Tue, 11 Aug 2020 20:15:51 -0400 Received: from crapouillou.net ([89.234.176.41]:52116 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726221AbgHLAPu (ORCPT ); Tue, 11 Aug 2020 20:15:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1597191322; 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=TBJe4O2M/Bbm5bjKqrnbx2BYaBZ10Szr3hxvh+t6njs=; b=NU/goe7ePwRJozFH4jO7+eFRrwTUmlQa36jGnk6XzeelT3vOEta76RJHuMHX1+U/zvlSOV vw/vARQRkJ9XBrfJT+1HLMvmfREQvmis8KXsbWM224raudrmEPFQW5/f+iMW3MBUF8qLIs MeEl70BTZJRHVyuLKi2weCSpa0aFPis= 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 v2 04/13] MIPS: Kconfig: add MIPS_GENERIC_KERNEL symbol Date: Wed, 12 Aug 2020 02:15:01 +0200 Message-Id: <20200812001510.460382-5-paul@crapouillou.net> In-Reply-To: <20200812001510.460382-1-paul@crapouillou.net> References: <20200812001510.460382-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: 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 880680c0df31..8d146794de1e 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.28.0