From patchwork Fri Jan 10 09:57:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 23089 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DC57020A64 for ; Fri, 10 Jan 2014 09:58:17 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id hk11sf16154342igb.2 for ; Fri, 10 Jan 2014 01:58:17 -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=B/7Wo445hKqK4wVYbuz9X6CLoklw0wyW1oqXnSXl1xq0iZmkY1VjQjGoqs+9Qczuid U2Wo/gApPqmS7QZhVEFII5zPd9FYrRM39XNgm0cxN/AhUWdagh1MfuV2aaMVc29G5+95 dt5RfIpw9Mu1dYUGcJW0h2UMIA21alrz/k+Mafj+stKkjFF4HR1pBRlcRWWERvE4D/YS VgZLnW+ojrj0Em/Hm9GOHq+NrhJ6spamFEEjGtJzfrYTd+Z5Gt+ls4Srv6VBK+MsXFxp yIO/t+dQyBTgiso6otzliPeC5oHAFKNnBd4c5RTaNUA8fGA3VtgLDxa6Edyi1+EqShKU NCQA== X-Gm-Message-State: ALoCoQlQkBRIRmQSABU0v4sSBzx9BNtLBaTWSQUAbjr+C/KbEg4QcDeCzihqCKyp58vSWjUYtARE X-Received: by 10.50.47.18 with SMTP id z18mr708012igm.1.1389347897148; Fri, 10 Jan 2014 01:58:17 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.128.200 with SMTP id nq8ls1326947qeb.95.gmail; Fri, 10 Jan 2014 01:58:17 -0800 (PST) X-Received: by 10.58.155.162 with SMTP id vx2mr1288107veb.46.1389347897053; Fri, 10 Jan 2014 01:58:17 -0800 (PST) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id e3si4608102vek.55.2014.01.10.01.58.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 Jan 2014 01:58:17 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.53; Received: by mail-vb0-f53.google.com with SMTP id o19so3030643vbm.12 for ; Fri, 10 Jan 2014 01:58:17 -0800 (PST) X-Received: by 10.58.22.233 with SMTP id h9mr84096vef.56.1389347896917; Fri, 10 Jan 2014 01:58:16 -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 ey3csp74858ved; Fri, 10 Jan 2014 01:58:15 -0800 (PST) X-Received: by 10.66.146.199 with SMTP id te7mr10191302pab.106.1389347895483; Fri, 10 Jan 2014 01:58:15 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id eb3si6624720pbd.167.2014.01.10.01.58.14; Fri, 10 Jan 2014 01:58:14 -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 S1753661AbaAJJ6N (ORCPT + 5 others); Fri, 10 Jan 2014 04:58:13 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:34082 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbaAJJ6L (ORCPT ); Fri, 10 Jan 2014 04:58:11 -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 s0A9vl1Q015036; Fri, 10 Jan 2014 03:57:47 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0A9vk8A014093; Fri, 10 Jan 2014 03:57:46 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.2.342.3; Fri, 10 Jan 2014 03:57:46 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0A9vfZm012960; Fri, 10 Jan 2014 03:57:45 -0600 From: Tero Kristo To: , , CC: Subject: [PATCH 2/2] ARM: DRA7XX: Add support for DRA7XX only build Date: Fri, 10 Jan 2014 11:57:30 +0200 Message-ID: <1389347850-22435-3-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1389347850-22435-1-git-send-email-t-kristo@ti.com> References: <1389347850-22435-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.212.53 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 Reviewed-by: Felipe Balbi --- 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