From patchwork Tue Apr 22 08:28:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 28768 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CC04620341 for ; Tue, 22 Apr 2014 08:28:57 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 200sf14504218ykr.10 for ; Tue, 22 Apr 2014 01:28:57 -0700 (PDT) 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=vOeHxjy6qH2LRLqZhlybu7qvhET5TO6bnfHoMhCMcow=; b=OrF9TNDZuS5sbO+tuAj3+hQzy/FK5/OvBVvCILJ2q8hsO2/rhkJncTvqVeRCXS7Sih N9Z6KNVpw2OWDfzEov4ZZP4GjbDrdtB/WcKvlUkxYo7rcZ4xXdnFgJ3J1uI7uX5ZumVG roVqEwhJVwXpTqaWkSBVis1mRrjbokuthaEiGfDWhH6koMaHeHFcSI/IcUktcLpOEn6v D3uMBTt4i6bPdDYYEB4z6pBq/q2Qp+Ieb3gOXIWskqxKkH8sWEQ7Y3pupL67kPihZb/9 VbS2dlszTH8qnDN1X56R+N3ViiTq1uU4DCVZuEH/LZvlBGWVodITLHaCO2h6qWYpmbKK zpMg== X-Gm-Message-State: ALoCoQkER9Bc4ZFMm5j5aZ1bMLwzkQh6/H7O/pQFKTq53jCsnWen09ucbyegJppfxKHvGvIXUEH3 X-Received: by 10.236.69.74 with SMTP id m50mr19229813yhd.0.1398155337567; Tue, 22 Apr 2014 01:28:57 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.210 with SMTP id o76ls791579qga.66.gmail; Tue, 22 Apr 2014 01:28:57 -0700 (PDT) X-Received: by 10.52.116.101 with SMTP id jv5mr15576917vdb.11.1398155337462; Tue, 22 Apr 2014 01:28:57 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id k4si6757953vcv.204.2014.04.22.01.28.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Apr 2014 01:28:57 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so8977489veb.4 for ; Tue, 22 Apr 2014 01:28:57 -0700 (PDT) X-Received: by 10.58.211.69 with SMTP id na5mr249002vec.30.1398155337384; Tue, 22 Apr 2014 01:28:57 -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.220.221.72 with SMTP id ib8csp6219vcb; Tue, 22 Apr 2014 01:28:56 -0700 (PDT) X-Received: by 10.67.24.1 with SMTP id ie1mr8009428pad.133.1398155335617; Tue, 22 Apr 2014 01:28:55 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zt8si22316925pbc.445.2014.04.22.01.28.54; Tue, 22 Apr 2014 01:28:54 -0700 (PDT) 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 S1754485AbaDVI2s (ORCPT + 5 others); Tue, 22 Apr 2014 04:28:48 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:40322 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754345AbaDVI2k (ORCPT ); Tue, 22 Apr 2014 04:28:40 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s3M8SGmK003397; Tue, 22 Apr 2014 03:28:16 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3M8SFbY027437; Tue, 22 Apr 2014 03:28:16 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Tue, 22 Apr 2014 03:28:15 -0500 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3M8S6gf016954; Tue, 22 Apr 2014 03:28:14 -0500 From: Sekhar Nori To: Tony Lindgren , Russell King CC: Santosh Shilimkar , Linux OMAP Mailing List , Linux ARM Mailing List , Sekhar Nori Subject: [PATCH v3 3/3] ARM: OMAP2+: AM43x: L2 cache support Date: Tue, 22 Apr 2014 13:58:03 +0530 Message-ID: X-Mailer: git-send-email 1.7.10.1 In-Reply-To: References: 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: nsekhar@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.173 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: , Add support for L2 cache controller (PL310) on AM437x SoC. Signed-off-by: Sekhar Nori --- arch/arm/mach-omap2/Kconfig | 1 + arch/arm/mach-omap2/io.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 1124155..1fd34d2 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -65,6 +65,7 @@ config SOC_AM43XX select ARCH_HAS_OPP select ARM_GIC select MACH_OMAP_GENERIC + select MIGHT_HAVE_CACHE_L2X0 config SOC_DRA7XX bool "TI DRA7XX" diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index b28299b..4e2df49 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c @@ -609,6 +609,7 @@ void __init am43xx_init_early(void) am43xx_clockdomains_init(); am43xx_hwmod_init(); omap_hwmod_init_postsetup(); + omap_l2_cache_init(); omap_clk_soc_init = am43xx_dt_clk_init; }