Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp929831ybp; Wed, 9 Oct 2019 06:28:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGdIGG1nMf6o/buYk6FQkkavgIoDNju8UL5iL5kLblwb9QgX+BXw9qBIxqyB5bdqUQ7QBq X-Received: by 2002:a17:906:4548:: with SMTP id s8mr2869044ejq.198.1570627692641; Wed, 09 Oct 2019 06:28:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570627692; cv=none; d=google.com; s=arc-20160816; b=Cs8jGoEQ+S08soU+6rLkJf/hq1QtHz3gVCs1JMiia6m7YSGoiDjbX4G2fhviNFqqjw Oco2n5BeD7NEPboArYMiR2mnfag96A2gOEoZhBpRyycksT+OgWsAyJquCn5kXry3pE3/ 5nIne5HKOOgj4GVQkKnuwosoPWyV3nK/CUyqC241qsTqjqeXu0/tZVbdB8bx23u7eeap t6biRkaUk2T6vwXTEEh8oTZWmfzR/Jvf4ckERNw7CoXO2+OyNQzBs+bxG17hE/PO7BAY I4/fR0hOKVvwVRgfVcPOaxPRAYmf15OIj8Zg9UQJfO3jLmaZgwyg+i1WShiNSMhmIrLv 7wRA== 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:to:from; bh=kHoU1tMS/8GirZQbyjyCXnfJEBgt6i+sYY92oL5YhIc=; b=vGCdEa9ph0VUa9JhJ+hRzZYmOitJXMmwaHuQNWB0DHV9QGnH02fqNUQkqY+ksKFgSa 7jtQKLrxidVc4wVqzRcUpNQ+irGekRVLz3q0KmjTJCRaEUK60olCLENcgfGm+ZX+P1H8 aQAwxM9o86KQ9qvqBXLhGgLOXR1wN1+x+Dd+Um/ag74gyTprqnJS+In5i1ihcsujMMmT j5pVO1nalXOW/rCW6WVvL6UHNLjxdcsf/HROvItzs/RUPGY8yw4s4n4jVYuywRtDf1h5 vlmwdMcbAhy+tbMxw+yJHLle73JzAs6cSZE687sHpFD6uI6GNKnkBGszWDL8Qjapkxtm Qu+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h10si1098434ejf.371.2019.10.09.06.27.49; Wed, 09 Oct 2019 06:28:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731442AbfJIN1b (ORCPT + 99 others); Wed, 9 Oct 2019 09:27:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:47452 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731357AbfJIN1a (ORCPT ); Wed, 9 Oct 2019 09:27:30 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 362E7AF6B; Wed, 9 Oct 2019 13:27:29 +0000 (UTC) From: Thomas Bogendoerfer To: Ralf Baechle , Paul Burton , James Hogan , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] MIPS: Kconfig: always select ARC_MEMORY and ARC_PROMLIB for platform Date: Wed, 9 Oct 2019 15:27:14 +0200 Message-Id: <20191009132718.25346-4-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191009132718.25346-1-tbogendoerfer@suse.de> References: <20191009132718.25346-1-tbogendoerfer@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Instead of having a default y option with depends simply select options for the platforms where they are needed. Signed-off-by: Thomas Bogendoerfer --- arch/mips/Kconfig | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index f71699cd9f73..37336d4ab969 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -359,6 +359,8 @@ config MACH_DECSTATION config MACH_JAZZ bool "Jazz family of machines" + select ARC_MEMORY + select ARC_PROMLIB select ARCH_MIGHT_HAVE_PC_PARPORT select ARCH_MIGHT_HAVE_PC_SERIO select FW_ARC @@ -631,6 +633,7 @@ config RALINK config SGI_IP22 bool "SGI IP22 (Indy/Indigo2)" + select ARC_PROMLIB select FW_ARC select FW_ARC32 select ARCH_MIGHT_HAVE_PC_SERIO @@ -699,6 +702,7 @@ config SGI_IP27 config SGI_IP28 bool "SGI IP28 (Indigo2 R10k)" + select ARC_PROMLIB select FW_ARC select FW_ARC64 select ARCH_MIGHT_HAVE_PC_SERIO @@ -737,6 +741,8 @@ config SGI_IP28 config SGI_IP32 bool "SGI IP32 (O2)" + select ARC_MEMORY + select ARC_PROMLIB select ARCH_HAS_PHYS_TO_DMA select FW_ARC select FW_ARC32 @@ -844,6 +850,8 @@ config SIBYTE_BIGSUR config SNI_RM bool "SNI RM200/300/400" + select ARC_MEMORY + select ARC_PROMLIB select FW_ARC if CPU_LITTLE_ENDIAN select FW_ARC32 if CPU_LITTLE_ENDIAN select FW_SNIPROM if CPU_BIG_ENDIAN @@ -1360,13 +1368,9 @@ config ARC_CONSOLE config ARC_MEMORY bool - depends on MACH_JAZZ || SNI_RM || SGI_IP32 - default y config ARC_PROMLIB bool - depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32 - default y config FW_ARC64 bool -- 2.16.4