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: 3901421 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DC9EA9F334 for ; Fri, 28 Mar 2014 08:36:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1EC472028D for ; Fri, 28 Mar 2014 08:36:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 336322027D for ; Fri, 28 Mar 2014 08:36:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751632AbaC1IgH (ORCPT ); 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: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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);