Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1052179imu; Wed, 23 Jan 2019 09:59:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN7uLjXHKUliY3/yUOhgmEVFpTnjsi+92sC+uteMBK6rQwnyZ4h6Cp8YOKANexOe5bOUuGU3 X-Received: by 2002:a63:2744:: with SMTP id n65mr2823376pgn.65.1548266351725; Wed, 23 Jan 2019 09:59:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548266351; cv=none; d=google.com; s=arc-20160816; b=YLSum6f+Vy0k+AtPIUKhC5MWIR21A97FrmpiI5EMd78LKwnooYna8OLceBib0wR3z/ euxoZD7RpbA8nARCZQT7L9WRi2u6RZGjlSz9oDJlvNKkPapcsFjtxcJISC+iYm5XA7sB zKACm+5oZoTuasyH1WEJJgxMrHZR1/kgoQeiW+ad+ny0mpW7+nBD6KPh6QyC9BND1peN NUSCTCkin7dEyYnvYZzhhuD/F4fz3BrMKx/ftIYIBZlTXT9jAXwkd5wCStn2V2ZQE9+E Z0rid1+KY9sVn9ZXefpGu46ps8GPM8iO6xSeAAwU5wqC0IusX8v2st/mAftJoDF2RxFs PDAA== 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=2ICmXAOpYBADuEbGqGxmFphokRyD36HtKv8itL9OK40=; b=tYNXEemDprQ24AoRK+0Q/SqDgtPS54h2MM2FjiYB9kj6CeKBVs9IqkJuhd+LTza/7C VW+O6eZ9YqT2m+V0a8HYSdj2D/z+dU1diFfEryaXfU1tWeaeELO6Ava1yaJ97SZHo4QB CmvRVJdQAYBDsXOKYbIrq6pj16Ues71Ebmo4pq0J0kBIxlsdjUBji6VRkr4mdOA+2CiF BNzJoZ6VvDju6QmR11fqdP/G5e9/np7Fc7D1bo6R2+CLk/+fdixcOySX6EpUls2eg/Pa Xqiw+tU8mr8i5HYiye72ookowZepqMbsFoueWjf+P6CtkUdfNmxd4aqkA7RlcE0iDc3h MYIA== 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 o6si15685166plh.23.2019.01.23.09.58.56; Wed, 23 Jan 2019 09:59:11 -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 S1726262AbfAWR5E (ORCPT + 99 others); Wed, 23 Jan 2019 12:57:04 -0500 Received: from mga03.intel.com ([134.134.136.65]:8870 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbfAWR5E (ORCPT ); Wed, 23 Jan 2019 12:57:04 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jan 2019 09:57:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,512,1539673200"; d="scan'208";a="140692140" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga001.fm.intel.com with ESMTP; 23 Jan 2019 09:57:03 -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: [PATCHv2] firmware: intel_stratix10_service: add hardware dependency Date: Wed, 23 Jan 2019 12:06:05 -0600 Message-Id: <1548266765-10178-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 --- v2: add depends on COMPILE_TEST --- drivers/firmware/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index f754578..7e5491a 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) || COMPILE_TEST default n help Intel Stratix10 service layer runs at privileged exception level, -- 2.7.4