From patchwork Wed Aug 29 07:57:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10579643 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D0D185A4 for ; Wed, 29 Aug 2018 07:58:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C495F2AA47 for ; Wed, 29 Aug 2018 07:58:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B75DA2AA4A; Wed, 29 Aug 2018 07:58:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 506312AA47 for ; Wed, 29 Aug 2018 07:58:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727708AbeH2LyB (ORCPT ); Wed, 29 Aug 2018 07:54:01 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:33135 "EHLO mail-lf1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727685AbeH2LyB (ORCPT ); Wed, 29 Aug 2018 07:54:01 -0400 Received: by mail-lf1-f51.google.com with SMTP id m26-v6so3530361lfb.0 for ; Wed, 29 Aug 2018 00:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RPmzBAaCwGcvI/sAuYQ1Clo4rSi6tAkAe6FRcMV4N8Q=; b=HW5/fEmgKIUafjeUg4zbJPEGYLu/s0WsK6ytwflfgvJ9MHT7krbYvZXp1jujKnYoGf 7CKQ21h+087UWapk0Wg2LFKg4us//HMcr0pPT1KBMoueiYdGndgsCQKOg2tlWWv4MyII Q6w5V44OtoZ7MTO5MUDKg/S2UmrcSQ0P/G5i4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RPmzBAaCwGcvI/sAuYQ1Clo4rSi6tAkAe6FRcMV4N8Q=; b=NBfWAIl6quo+pGKc6um+pHDkgW+q+wCEEFTLeWNFXQBTppQ8BShLUkXJY6MQl/68dB 8ANdzsd0ysW6PQ3TYO1UHmM9wjA3d0YLms/vtaYMNh/QlHU2gEJZ3b/wMgWU8eI+btnQ AOgCqUPDTdq5phuYflmKEtrnxF18GN//La2pdaxSAx5jsTNS2e8IiI57uZdzZ25bMcFk WPnot+OjzHG/4NXMKwMkWVbGeGLJh/UOsuoQ8btPd1IfRGXGC5qDJCjSLk+DXepEYGU6 Mb064EHyoQgGphzMsAI5paKz3f9d0YZbDmPF3MXD5SW3erCYIN8VB5kFYc3iJNz20zPV 8auA== X-Gm-Message-State: APzg51CNxeGewHGBavlQqRFq6Zk81iD2IB0QRH+eGMnJN+UwFGPToNwg W+hoedps50QE77PC6uLlS+oQ5Q== X-Google-Smtp-Source: ANB0Vdbz2buhBBncItmHfiZG0V5b3Guv57Xw6jIEgmomgTgk8BUH1SGFbO6kMlbywvNV2Z2Q+aSpgg== X-Received: by 2002:a19:290c:: with SMTP id p12-v6mr3374579lfp.124.1535529501784; Wed, 29 Aug 2018 00:58:21 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id y16-v6sm596945lje.30.2018.08.29.00.58.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 00:58:21 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 9/9] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs Date: Wed, 29 Aug 2018 09:57:23 +0200 Message-Id: <20180829075724.9095-10-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829075724.9095-1-niklas.cassel@linaro.org> References: <20180829075724.9095-1-niklas.cassel@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"), we unconditionally include the soc/qcom/Makefile. This opens up the possibility to compile test the code even when building for other architectures. Allow COMPILE_TEST for all qcom SoC Kconfigs, except for two Kconfigs that depend on QCOM_SCM, since that triggers lots of build errors in qcom_scm. Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul Reviewed-by: Bjorn Andersson --- drivers/soc/qcom/Kconfig | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index cf4ece232897..684cb51694d1 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -33,7 +33,7 @@ config QCOM_GLINK_SSR config QCOM_GSBI tristate "QCOM General Serial Bus Interface" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST select MFD_SYSCON help Say y here to enable GSBI support. The GSBI provides control @@ -42,7 +42,7 @@ config QCOM_GSBI config QCOM_LLCC tristate "Qualcomm Technologies, Inc. LLCC driver" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST help Qualcomm Technologies, Inc. platform specific Last Level Cache Controller(LLCC) driver. This provides interfaces @@ -73,7 +73,8 @@ config QCOM_PM config QCOM_QMI_HELPERS tristate - depends on ARCH_QCOM && NET + depends on ARCH_QCOM || COMPILE_TEST + depends on NET help Helper library for handling QMI encoded messages. QMI encoded messages are used in communication between the majority of QRTR @@ -104,7 +105,7 @@ config QCOM_RPMH config QCOM_SMEM tristate "Qualcomm Shared Memory Manager (SMEM)" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on HWSPINLOCK help Say y here to enable support for the Qualcomm Shared Memory Manager. @@ -113,7 +114,7 @@ config QCOM_SMEM config QCOM_SMD_RPM tristate "Qualcomm Resource Power Manager (RPM) over SMD" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help If you say yes to this option, support will be included for the @@ -150,7 +151,7 @@ config QCOM_SMSM config QCOM_WCNSS_CTRL tristate "Qualcomm WCNSS control driver" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help Client driver for the WCNSS_CTRL SMD channel, used to download nv @@ -158,7 +159,7 @@ config QCOM_WCNSS_CTRL config QCOM_APR tristate "Qualcomm APR Bus (Asynchronous Packet Router)" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help Enable APR IPC protocol support between