From patchwork Fri Jan 17 20:25:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 23358 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f69.google.com (mail-pb0-f69.google.com [209.85.160.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 13F2B202DA for ; Fri, 17 Jan 2014 20:27:13 +0000 (UTC) Received: by mail-pb0-f69.google.com with SMTP id ma3sf10139340pbc.4 for ; Fri, 17 Jan 2014 12:27:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=JKw6K+FE1juSeNF1YFHwUhCeGPCct8ZTBO8pOvPQQgM=; b=Cmr5ad77YRVPDboQA/0c+O1Sq3bwH3gHnFLtU4ucuboNuYNgE2HDDuHC0/2BDP2yiH 4SWj8FgsBpthBUkk7qTt3f7udXVJQVC+KAjYLvhvt2iWlGlQdvnA0V3rZNCYIIzbdCFo UgANLO0urZxaD7n/FtQ/FgWuHAVg9hcCga/mIZHioLopRlGtnm6iTvL03vVVvpksT20B XnujB6F36E+IbcwTT5mJtWciazq2BLahRlq6/rFTAPMd1lp6VnVM5JCELzeSTmlJMGXb lpM5+TyRH3alT05Pb0ePANyVTmONH2vVsLWpGgTf2hTvjkTxBN4E6AI7LYCn7qduua69 tCTQ== X-Gm-Message-State: ALoCoQnUs6ZDzzitZuZ773IB2zRwLr6OOVWnCigfKkCU6fIqkC111Fiqvm7y+5ZYuNglpg4TnAIu X-Received: by 10.66.138.79 with SMTP id qo15mr1487962pab.34.1389990433281; Fri, 17 Jan 2014 12:27:13 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.11 with SMTP id w11ls575379qgw.42.gmail; Fri, 17 Jan 2014 12:27:13 -0800 (PST) X-Received: by 10.58.86.230 with SMTP id s6mr1116062vez.16.1389990433063; Fri, 17 Jan 2014 12:27:13 -0800 (PST) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id dv9si5324170ved.77.2014.01.17.12.27.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jan 2014 12:27:13 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id ij19so1750214vcb.6 for ; Fri, 17 Jan 2014 12:27:13 -0800 (PST) X-Received: by 10.58.119.161 with SMTP id kv1mr1905298veb.21.1389990432981; Fri, 17 Jan 2014 12:27:12 -0800 (PST) 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.59.13.131 with SMTP id ey3csp46782ved; Fri, 17 Jan 2014 12:27:12 -0800 (PST) X-Received: by 10.68.66.103 with SMTP id e7mr4335123pbt.120.1389990384086; Fri, 17 Jan 2014 12:26:24 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gx4si11114299pbc.51.2014.01.17.12.26.23; Fri, 17 Jan 2014 12:26:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753452AbaAQU0W (ORCPT + 5 others); Fri, 17 Jan 2014 15:26:22 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:48094 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753427AbaAQU0T (ORCPT ); Fri, 17 Jan 2014 15:26:19 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s0HKPuEc021075; Fri, 17 Jan 2014 14:25:56 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0HKPuWe023012; Fri, 17 Jan 2014 14:25:56 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Fri, 17 Jan 2014 14:25:56 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0HKPn69009756; Fri, 17 Jan 2014 14:25:54 -0600 From: Tero Kristo To: , , , CC: Subject: [PATCH 2/3] ARM: DRA7XX: Add support for DRA7XX only build Date: Fri, 17 Jan 2014 22:25:39 +0200 Message-ID: <1389990340-23358-3-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1389990340-23358-1-git-send-email-t-kristo@ti.com> References: <1389990340-23358-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: t-kristo@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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: , SOC_DRA7XX was under wrong menu within Kconfig file, which prevented DRA7XX only build. Fixed the kconfig options for this SoC as we are there. voltage.c needs to be added to the DRA7XX build also, otherwise DRA7XX only build will fail. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/Kconfig | 18 ++++++++++-------- arch/arm/mach-omap2/Makefile | 1 + 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index dc21df1..e65948a 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -76,6 +76,16 @@ config SOC_AM43XX select ARM_GIC select MACH_OMAP_GENERIC +config SOC_DRA7XX + bool "TI DRA7XX" + depends on ARCH_MULTI_V7 + select ARCH_OMAP2PLUS + select ARM_CPU_SUSPEND if PM + select ARM_GIC + select CPU_V7 + select HAVE_SMP + select HAVE_ARM_ARCH_TIMER + config ARCH_OMAP2PLUS bool select ARCH_HAS_BANDGAP @@ -128,14 +138,6 @@ config SOC_HAS_REALTIME_COUNTER depends on SOC_OMAP5 || SOC_DRA7XX default y -config SOC_DRA7XX - bool "TI DRA7XX" - select ARM_ARCH_TIMER - select CPU_V7 - select ARM_GIC - select HAVE_SMP - select COMMON_CLK - comment "OMAP Core Type" depends on ARCH_OMAP2 diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 96a990f..8ebe9f3 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -132,6 +132,7 @@ obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common) obj-$(CONFIG_SOC_AM43XX) += $(voltagedomain-common) obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common) obj-$(CONFIG_SOC_OMAP5) += voltagedomains54xx_data.o +obj-$(CONFIG_SOC_DRA7XX) += $(voltagedomain-common) # OMAP powerdomain framework powerdomain-common += powerdomain.o powerdomain-common.o