From patchwork Fri Aug 8 04:00:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 35072 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f69.google.com (mail-qg0-f69.google.com [209.85.192.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C262121137 for ; Fri, 8 Aug 2014 04:01:11 +0000 (UTC) Received: by mail-qg0-f69.google.com with SMTP id a108sf14025207qge.0 for ; Thu, 07 Aug 2014 21:01:11 -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=fTjvokaj6enVibADsT3tBtgNQAva+y5Cuy1gYhywlWM=; b=amxPN97wQscOMM7x+2B60GxyYPvJ8R6ScCjmEMWqe3KI22XR4wrWOPAuLwrac4hy1z 8y7gw7HNydht1IEI0IsOK4Hf6kEkwqxeTvmnuYCJ0IAshvUej4hahE7oBUS+17nrH1SX KKVn0jrboZGrDKzz3TJBMZP9pVHzbT2EaBqnnV4QpQsdsbylatnyJ1Y+ocQhMV6cJR0D iOv0lL9RzYjDCmS/G91K+flgbk5EIHWyKawNJ26mNM3t6bRkzmzNt7UxoTlbK4R0MTr+ QN/ixpDnH+2+lfqJw2Fei3ulNLfhDofOsZbwmTNdqJLNV/6XGLkswsdHcykH7cD4Qq/3 unqw== X-Gm-Message-State: ALoCoQkz29fRIxgrCrgVabFq/yf9zw4FkmfPpon6N9cMbRYWeN88/Yozh11cVMnw+8FSdUabNqHY X-Received: by 10.236.117.141 with SMTP id j13mr3555619yhh.3.1407470471619; Thu, 07 Aug 2014 21:01:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.103.193 with SMTP id y59ls379458qge.9.gmail; Thu, 07 Aug 2014 21:01:11 -0700 (PDT) X-Received: by 10.220.2.136 with SMTP id 8mr19765430vcj.17.1407470471550; Thu, 07 Aug 2014 21:01:11 -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 c7si2499316vcc.15.2014.08.07.21.01.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Aug 2014 21:01:11 -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 la4so7633563vcb.37 for ; Thu, 07 Aug 2014 21:01:11 -0700 (PDT) X-Received: by 10.221.56.5 with SMTP id wa5mr19811519vcb.25.1407470471464; Thu, 07 Aug 2014 21:01:11 -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 tc5csp86889vcb; Thu, 7 Aug 2014 21:01:08 -0700 (PDT) X-Received: by 10.70.53.42 with SMTP id y10mr21796957pdo.1.1407470468458; Thu, 07 Aug 2014 21:01:08 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xy1si4002034pab.157.2014.08.07.21.01.07 for ; Thu, 07 Aug 2014 21:01:08 -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 S1751187AbaHHEBH (ORCPT + 4 others); Fri, 8 Aug 2014 00:01:07 -0400 Received: from mail-ig0-f178.google.com ([209.85.213.178]:36557 "EHLO mail-ig0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751030AbaHHEBG (ORCPT ); Fri, 8 Aug 2014 00:01:06 -0400 Received: by mail-ig0-f178.google.com with SMTP id uq10so430780igb.17 for ; Thu, 07 Aug 2014 21:01:05 -0700 (PDT) X-Received: by 10.50.138.195 with SMTP id qs3mr1494550igb.14.1407470465226; Thu, 07 Aug 2014 21:01:05 -0700 (PDT) Received: from localhost.localdomain (c-24-8-37-141.hsd1.co.comcast.net. [24.8.37.141]) by mx.google.com with ESMTPSA id yt6sm4062230igb.10.2014.08.07.21.01.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Aug 2014 21:01:04 -0700 (PDT) From: Lina Iyer To: daniel.lezcano@linaro.org, khilman@linaro.org, amit.kucheria@linaro.org, sboyd@codeaurora.org, davidb@codeaurora.org, galak@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@vger.kernel.org Cc: msivasub@codeaurora.org, bryanh@codeaurora.org, Lina Iyer Subject: [RFC] [PATCH 01/13] msm: scm: Move scm-boot files to drivers/soc and include/soc Date: Thu, 7 Aug 2014 22:00:46 -0600 Message-Id: <1407470458-22900-2-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407470458-22900-1-git-send-email-lina.iyer@linaro.org> References: <1407470458-22900-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 - 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 4 files changed, 3 insertions(+), 4 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/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.