From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754905AbbIKX0X (ORCPT ); Fri, 11 Sep 2015 19:26:23 -0400 Received: from seldrel01.sonyericsson.com ([37.139.156.2]:2564 "EHLO seldrel01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754294AbbIKX0V (ORCPT ); Fri, 11 Sep 2015 19:26:21 -0400 Date: Fri, 11 Sep 2015 16:26:16 -0700 From: Bjorn Andersson To: Andy Gross CC: , , , Mark Brown , Stephen Boyd Subject: Re: [Patch v2] firmware: qcom: scm: Add function stubs for ARM64 Message-ID: <20150911232616.GE13472@usrtlx11787.corpusers.net> References: <1442005276-31971-1-git-send-email-agross@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1442005276-31971-1-git-send-email-agross@codeaurora.org> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 11 Sep 14:01 PDT 2015, Andy Gross wrote: > This patch adds stubs for the SCM functions exposed in the QCOM SCM API. > > Signed-off-by: Andy Gross > --- > drivers/firmware/Kconfig | 8 +++++ > drivers/firmware/Makefile | 3 +- > drivers/firmware/qcom_scm-64.c | 63 ++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 73 insertions(+), 1 deletion(-) > create mode 100644 drivers/firmware/qcom_scm-64.c > > diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig > index 99c69a3..72720eb 100644 > --- a/drivers/firmware/Kconfig > +++ b/drivers/firmware/Kconfig > @@ -136,6 +136,14 @@ config QCOM_SCM > bool > depends on ARM || ARM64 > > +config QCOM_SCM_32 > + def_bool y > + depends on QCOM_SCM && ARM > + > +config QCOM_SCM_64 > + def_bool y > + depends on QCOM_SCM && ARM64 > + So if QCOM_SCM is selected by a consumer then the dependencies here will be met and the correct implementation will be chosen, as these aren't possible to deselect? I guess that's an okay approach, so: Acked-by: Bjorn Andersson Regards, Bjorn