From patchwork Mon Aug 18 22:23:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 35540 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3D8A120676 for ; Mon, 18 Aug 2014 22:23:58 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id v10sf44648791pde.6 for ; Mon, 18 Aug 2014 15:23:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=AsuM0g6XNnBgS3uJACYttS14bH8x8G+BiwGIiI4/Q6k=; b=inyfh6nHswcds6WchHruBmbYAZ0ASiTvUbdXBpE9oodk2YLqPqjTQZkLYdTMB1oJHm 1fN4S7MXa9jG+YhvAoSZ/XuUNRqXHzWmbJDAgirPB6ESB4DA2qEzZe4C4Uozc8QqAIwv hcAqLb57zjLY7KlnXK+0joWo6us/UBa/yqWK7xYytpCycDLQ7P+Hsi4lU8PESJpZHS7p uAec7Vbuqnm+jPskiH8ml1T3rANzU5BV6vuWzux91LKvaVIlwDVHlQruZ/NL7/N1ewT6 oQppNUzGGH9++KnUIhN6VusHBAfvyVZXdqZcz9YgLr9I/gMV0g5tNTM+fPvES3Q7kK0m WnyQ== X-Gm-Message-State: ALoCoQnea1gu+RQw+L4kXiPgJmDnjT15JF3qUj6FFjFYk3t0qZnvcimBims3Bvrk6zHTssSG5frv X-Received: by 10.66.160.164 with SMTP id xl4mr1684879pab.48.1408400636223; Mon, 18 Aug 2014 15:23:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.94.210 with SMTP id g76ls2647863qge.74.gmail; Mon, 18 Aug 2014 15:23:55 -0700 (PDT) X-Received: by 10.221.44.69 with SMTP id uf5mr27178729vcb.4.1408400635931; Mon, 18 Aug 2014 15:23:55 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id k6si2526548vcl.81.2014.08.18.15.23.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Aug 2014 15:23:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id la4so6542616vcb.37 for ; Mon, 18 Aug 2014 15:23:55 -0700 (PDT) X-Received: by 10.220.163.130 with SMTP id a2mr2322594vcy.52.1408400635848; Mon, 18 Aug 2014 15:23:55 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp189772vcb; Mon, 18 Aug 2014 15:23:55 -0700 (PDT) X-Received: by 10.70.137.98 with SMTP id qh2mr33797698pdb.61.1408400633483; Mon, 18 Aug 2014 15:23:53 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pc2si23819953pac.118.2014.08.18.15.23.52 for ; Mon, 18 Aug 2014 15:23:53 -0700 (PDT) Received-SPF: none (google.com: linux-arm-msm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752227AbaHRWXw (ORCPT + 5 others); Mon, 18 Aug 2014 18:23:52 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:38802 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752063AbaHRWXv (ORCPT ); Mon, 18 Aug 2014 18:23:51 -0400 Received: by mail-pd0-f182.google.com with SMTP id fp1so8396249pdb.27 for ; Mon, 18 Aug 2014 15:23:51 -0700 (PDT) X-Received: by 10.68.68.234 with SMTP id z10mr38381280pbt.59.1408400631370; Mon, 18 Aug 2014 15:23:51 -0700 (PDT) Received: from ubuntu.localdomain (proxy6-global253.qualcomm.com. [199.106.103.253]) by mx.google.com with ESMTPSA id nn3sm25508125pdb.58.2014.08.18.15.23.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Aug 2014 15:23:50 -0700 (PDT) From: Lina Iyer To: daniel.lezcano@linaro.org, khilman@linaro.org, sboyd@codeaurora.org, davidb@codeaurora.org, galak@codeaurora.org, linux-arm-msm@vger.kernel.org, lorenzo.pieralisi@arm.com Cc: msivasub@codeauorora.org, Lina Iyer Subject: [PATCH v3 1/8] msm: scm: Move scm-boot files to drivers/soc and include/soc Date: Mon, 18 Aug 2014 16:23:27 -0600 Message-Id: <1408400614-45419-2-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408400614-45419-1-git-send-email-lina.iyer@linaro.org> References: <1408400614-45419-1-git-send-email-lina.iyer@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lina.iyer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Lina Iyer --- arch/arm/mach-qcom/Makefile | 1 - arch/arm/mach-qcom/platsmp.c | 2 +- drivers/soc/qcom/Makefile | 2 +- {arch/arm/mach-qcom => drivers/soc/qcom}/scm-boot.c | 4 ++-- {arch/arm/mach-qcom => include/soc/qcom}/scm-boot.h | 0 5 files changed, 4 insertions(+), 5 deletions(-) rename {arch/arm/mach-qcom => drivers/soc/qcom}/scm-boot.c (97%) rename {arch/arm/mach-qcom => include/soc/qcom}/scm-boot.h (100%) diff --git a/arch/arm/mach-qcom/scm-boot.h b/include/soc/qcom/scm-boot.h similarity index 100% rename from arch/arm/mach-qcom/scm-boot.h rename to include/soc/qcom/scm-boot.h diff --git a/arch/arm/mach-qcom/Makefile b/arch/arm/mach-qcom/Makefile index db41e8c..e324375 100644 --- a/arch/arm/mach-qcom/Makefile +++ b/arch/arm/mach-qcom/Makefile @@ -1,3 +1,2 @@ obj-y := board.o obj-$(CONFIG_SMP) += platsmp.o -obj-$(CONFIG_QCOM_SCM) += scm-boot.o diff --git a/arch/arm/mach-qcom/platsmp.c b/arch/arm/mach-qcom/platsmp.c index d690856..a692bcb 100644 --- a/arch/arm/mach-qcom/platsmp.c +++ b/arch/arm/mach-qcom/platsmp.c @@ -20,7 +20,7 @@ #include -#include "scm-boot.h" +#include #define VDD_SC1_ARRAY_CLAMP_GFS_CTL 0x35a0 #define SCSS_CPU1CORE_RESET 0x2d80 diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile index a39446d..70d52ed 100644 --- a/drivers/soc/qcom/Makefile +++ b/drivers/soc/qcom/Makefile @@ -1,3 +1,3 @@ obj-$(CONFIG_QCOM_GSBI) += qcom_gsbi.o CFLAGS_scm.o :=$(call as-instr,.arch_extension sec,-DREQUIRES_SEC=1) -obj-$(CONFIG_QCOM_SCM) += scm.o +obj-$(CONFIG_QCOM_SCM) += scm.o scm-boot.o diff --git a/arch/arm/mach-qcom/scm-boot.c b/drivers/soc/qcom/scm-boot.c similarity index 97% rename from arch/arm/mach-qcom/scm-boot.c rename to drivers/soc/qcom/scm-boot.c index 5add20e..60ff7b4 100644 --- a/arch/arm/mach-qcom/scm-boot.c +++ b/drivers/soc/qcom/scm-boot.c @@ -17,9 +17,9 @@ #include #include -#include -#include "scm-boot.h" +#include +#include /* * Set the cold/warm boot address for one of the CPU cores.