From patchwork Fri Mar 28 08:35:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 27244 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 56AD820545 for ; Fri, 28 Mar 2014 08:36:13 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id lx4sf16693824iec.11 for ; Fri, 28 Mar 2014 01:36:12 -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 :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=5A6PfC63t6ivQyAKMVrDcxqyFkNOdf83vsrtHY93v9Y=; b=mBGO/cWHmPBHuLgXotIc7bD4Fz5g30EybHvZ8PVxv7/zsKzxCTtJcgSsBMjFWyuHn2 sZHdET9qWE4LEBgqx8N2EQTU2pqBxQD2sORt5I64jjVqNnbFaBlUa3C65MGVDNYOWhK5 rI0qv4UXHC9GUbkKqtU/tsheNleXBsZhZ4l5YtGpiAbiHdUtPRVoxyyFAfLESd8lsUYr 1tVwyvjsxf7Bst91OI9OcQegf9veSFRUGKyIQapXQ5ZqSLZr/rakKuo+YofDPIrcXnH0 ulXUE/m/QZq2zGR9WL7ZrK5oPK1k+ITtS0FH23esKdRiTYew+pfhd8XAWmg+wSSX0NjN 9H1g== X-Gm-Message-State: ALoCoQkmVOgs2ki93Ss0bXiYfCrvqSYBW2lPkhS2FTYAYMBuQtIaMR7bAgRamVb3lh8BBf3RZX5T X-Received: by 10.42.240.19 with SMTP id ky19mr2408448icb.4.1395995772854; Fri, 28 Mar 2014 01:36:12 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.181 with SMTP id h50ls1367282qgh.15.gmail; Fri, 28 Mar 2014 01:36:12 -0700 (PDT) X-Received: by 10.221.20.199 with SMTP id qp7mr239356vcb.24.1395995772709; Fri, 28 Mar 2014 01:36:12 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id sn5si1127077vdc.137.2014.03.28.01.36.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Mar 2014 01:36:12 -0700 (PDT) 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 lh14so5494237vcb.6 for ; Fri, 28 Mar 2014 01:36:12 -0700 (PDT) X-Received: by 10.220.12.66 with SMTP id w2mr5898808vcw.15.1395995772632; Fri, 28 Mar 2014 01:36:12 -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.78.9 with SMTP id i9csp17863vck; Fri, 28 Mar 2014 01:36:12 -0700 (PDT) X-Received: by 10.66.220.198 with SMTP id py6mr7141114pac.21.1395995771738; Fri, 28 Mar 2014 01:36:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bi5si3220286pbb.191.2014.03.28.01.36.11; Fri, 28 Mar 2014 01:36:11 -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 S1751632AbaC1IgH (ORCPT + 5 others); Fri, 28 Mar 2014 04:36:07 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:46979 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384AbaC1IgB (ORCPT ); Fri, 28 Mar 2014 04:36:01 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2S8ZWms029405; Fri, 28 Mar 2014 03:35:32 -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 s2S8ZWSE003067; Fri, 28 Mar 2014 03:35:32 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Fri, 28 Mar 2014 03:35:32 -0500 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2S8ZU9m023701; Fri, 28 Mar 2014 03:35:30 -0500 From: Sekhar Nori To: Tony Lindgren CC: Linux OMAP Mailing List , Linux ARM Mailing List , Sekhar Nori Subject: [PATCH 1/2] ARM: OMAP2+: L2 cache: use macro instead of const number Date: Fri, 28 Mar 2014 14:05:28 +0530 Message-ID: <5ea7277c21215c7b4aa776d5379dc2d6263228c6.1395994759.git.nsekhar@ti.com> X-Mailer: git-send-email 1.7.10.1 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.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: , From: Afzal Mohammed Its better to use the available macro than 0x1. No functional change. Signed-off-by: Afzal Mohammed Signed-off-by: Sekhar Nori --- This series applies to latest of linux-next/master arch/arm/mach-omap2/omap4-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index 95e171a..8f18460 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c @@ -219,7 +219,7 @@ static int __init omap_l2_cache_init(void) omap_smc1(0x109, aux_ctrl); /* Enable PL310 L2 Cache controller */ - omap_smc1(0x102, 0x1); + omap_smc1(0x102, L2X0_CTRL_EN); if (of_have_populated_dt()) l2x0_of_init(aux_ctrl, L2X0_AUX_CTRL_MASK);