Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp904449imu; Wed, 23 Jan 2019 07:40:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN4W/xhdhm+yYkpYUp0yqMQH5JkHthSLFFkfsIxjpwCcozfnrfX9ySWBJ/k5gOHuVWRB3iHh X-Received: by 2002:a62:db41:: with SMTP id f62mr2439575pfg.123.1548258039843; Wed, 23 Jan 2019 07:40:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548258039; cv=none; d=google.com; s=arc-20160816; b=o90U2KCOyga1fIkrivG/Y/7FGslcyRF9fLKOkhfatzrmE73ZQ4mcYjfz3MV8M7peXf AUVswLHaLnqF6IBFPUfOHJSBiPsTYub/QU8WGOXriawxCRRzFohSb/49We3Bcv5kRrC4 ZWIpBBvsf18hiiD2u3jGm91X5u9EIR1i4cZ3qR0NhZDKifUmKb7EiTm3/gIwPuM0Tfkt YQAcLm2Wp/AN2WGPdlLkqASxYCbAAy5HpjM8npEnJU9ETx2NIP0OyFw/yxKGdoM/YwLi MpPwf/M4Zx7aYB//1k9o9ZO5jqdfDh4Q7iNv/0gda5UXm9GlnT/jWFhPLpex6E/IiSKr 4nvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=fSo0yxAtLyLv6oSgW1oxtiu8PyZLsrSH7+5COYLoWYM=; b=omtLxX1576sfvmxxmxy0N3mgrcRjOfaYLGEqmEbSEdWQ2HkZClql2eAdUMBayVwTWg N6f2MH9zdBZYCCE2jwC6HJwW6BE2EX9AXr3TUjXG5s2/qiKbQ0KflUcfJHjTMNDVfd9q 14ei2bLyQHZo6fk/8s8yGyUyr7wuPv0zop6abSjzRSE3htoO7ShHsohYAsjLovFZtT+T 5IrI7nw0J1uaWf9pwOyEAAPsOQLEVaf7s9HqrcMfFVfyuUHETvmQumAcjYVxkVMV/+jj YCpM/Gdh/tv2QhW8A8HFWG+AFAch4BkrmGgoA2BUS9pVL2/05V3mTx0YL2xRdu1mmtQC 1wZg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d65si4603099pfc.201.2019.01.23.07.40.23; Wed, 23 Jan 2019 07:40:39 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726044AbfAWPjL (ORCPT + 99 others); Wed, 23 Jan 2019 10:39:11 -0500 Received: from mga02.intel.com ([134.134.136.20]:61588 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbfAWPjL (ORCPT ); Wed, 23 Jan 2019 10:39:11 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jan 2019 07:39:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,511,1539673200"; d="scan'208";a="112045535" Received: from marshy.an.intel.com ([10.122.105.159]) by orsmga008.jf.intel.com with ESMTP; 23 Jan 2019 07:39:09 -0800 From: richard.gong@linux.intel.com To: gregkh@linuxfoundation.org Cc: atull@kernel.org, dinguyen@kernel.org, linux-kernel@vger.kernel.org, todd.riffel@intel.com, richard.gong@linux.intel.com, Richard Gong Subject: [PATCHv1] firmware: intel_stratix10_service: add hardware dependency Date: Wed, 23 Jan 2019 09:47:56 -0600 Message-Id: <1548258476-16821-1-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Gong Add a Kconfig dependency to ensure Intel Stratix10 service layer driver can be built only on the platform that supports it. Signed-off-by: Richard Gong --- drivers/firmware/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index f754578..cac16c4 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -218,7 +218,7 @@ config FW_CFG_SYSFS_CMDLINE config INTEL_STRATIX10_SERVICE tristate "Intel Stratix10 Service Layer" - depends on HAVE_ARM_SMCCC + depends on ARCH_STRATIX10 && HAVE_ARM_SMCCC default n help Intel Stratix10 service layer runs at privileged exception level, -- 2.7.4