From patchwork Tue Aug 19 22:15:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 35673 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9694E2034C for ; Tue, 19 Aug 2014 22:16:02 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id r2sf32167194igi.4 for ; Tue, 19 Aug 2014 15:16:02 -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=A9RTDvLva2+m9NQeNE0TLT4AIiD3TxCzK4VA1CT8GG66T8WjOz2ojaY3XozxADyb98 r0EA0g9Soxo5zf9KSHgj/ZrpmXrceeDzot/sR+TeSNHDW0nsDvOr1xHKxPoMwzRh6m/M uz/lPODfBy3LYFdIzqxEQ79rAyZBwiM4ZHjdKp4CiHpDrKxZh4QpOZGYG4CLrnPKCGpM XYmp55M+GVDV6BfkQN9F0cBvNHWYAnzqzqB1lX/QbMqYRggfZGwGqI82IYMDi5FzxuKn 3dCHD3EiZ151GDm3Y59Sr/mwsVKTIcj8vZ6cJ1sleCPmb0KVr9YMAJigdTS8K12K8OCN 8ogA== X-Gm-Message-State: ALoCoQnaW7dkf9F83oWf1IpGuPGK2pI7aLUOgBu7JnGaI5fBF3pukoHAUDIYoO0JflaA/oAUQFpI X-Received: by 10.182.230.133 with SMTP id sy5mr24521038obc.22.1408486562119; Tue, 19 Aug 2014 15:16:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.50.107 with SMTP id r98ls19531qga.71.gmail; Tue, 19 Aug 2014 15:16:02 -0700 (PDT) X-Received: by 10.52.99.106 with SMTP id ep10mr2385057vdb.73.1408486561920; Tue, 19 Aug 2014 15:16:01 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id yg1si6453604vdb.58.2014.08.19.15.16.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 15:16:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id hq11so8210278vcb.2 for ; Tue, 19 Aug 2014 15:16:01 -0700 (PDT) X-Received: by 10.220.15.8 with SMTP id i8mr3160456vca.45.1408486561838; Tue, 19 Aug 2014 15:16:01 -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.45.67 with SMTP id uj3csp3348vcb; Tue, 19 Aug 2014 15:16:01 -0700 (PDT) X-Received: by 10.68.245.9 with SMTP id xk9mr47241184pbc.123.1408486560101; Tue, 19 Aug 2014 15:16:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id df3si28839804pbc.99.2014.08.19.15.15.59 for ; Tue, 19 Aug 2014 15:16:00 -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 S1751694AbaHSWP6 (ORCPT + 5 others); Tue, 19 Aug 2014 18:15:58 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:35437 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751715AbaHSWP5 (ORCPT ); Tue, 19 Aug 2014 18:15:57 -0400 Received: by mail-pd0-f180.google.com with SMTP id v10so10337195pde.25 for ; Tue, 19 Aug 2014 15:15:57 -0700 (PDT) X-Received: by 10.68.239.201 with SMTP id vu9mr47983119pbc.35.1408486555050; Tue, 19 Aug 2014 15:15:55 -0700 (PDT) Received: from ubuntu.localdomain (proxy6-global253.qualcomm.com. [199.106.103.253]) by mx.google.com with ESMTPSA id zq5sm20305897pbb.37.2014.08.19.15.15.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Aug 2014 15:15:54 -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@codeaurora.org, Lina Iyer Subject: [PATCH v4 1/8] msm: scm: Move scm-boot files to drivers/soc and include/soc Date: Tue, 19 Aug 2014 16:15:30 -0600 Message-Id: <1408486537-6358-2-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408486537-6358-1-git-send-email-lina.iyer@linaro.org> References: <1408486537-6358-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.171 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.