From: Sekhar Nori <nsekhar@ti.com> To: Tony Lindgren <tony@atomide.com> Cc: Linux OMAP Mailing List <linux-omap@vger.kernel.org>, Sekhar Nori <nsekhar@ti.com>, Linux ARM Mailing List <linux-arm-kernel@lists.infradead.org> Subject: [PATCH 1/2] ARM: OMAP2+: L2 cache: use macro instead of const number Date: Fri, 28 Mar 2014 14:05:28 +0530 [thread overview] Message-ID: <5ea7277c21215c7b4aa776d5379dc2d6263228c6.1395994759.git.nsekhar@ti.com> (raw) From: Afzal Mohammed <afzal@ti.com> Its better to use the available macro than 0x1. No functional change. Signed-off-by: Afzal Mohammed <afzal@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> --- 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); -- 1.7.10.1
WARNING: multiple messages have this Message-ID (diff)
From: nsekhar@ti.com (Sekhar Nori) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: OMAP2+: L2 cache: use macro instead of const number Date: Fri, 28 Mar 2014 14:05:28 +0530 [thread overview] Message-ID: <5ea7277c21215c7b4aa776d5379dc2d6263228c6.1395994759.git.nsekhar@ti.com> (raw) From: Afzal Mohammed <afzal@ti.com> Its better to use the available macro than 0x1. No functional change. Signed-off-by: Afzal Mohammed <afzal@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> --- 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); -- 1.7.10.1
next reply other threads:[~2014-03-28 8:35 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-03-28 8:35 Sekhar Nori [this message] 2014-03-28 8:35 ` [PATCH 1/2] ARM: OMAP2+: L2 cache: use macro instead of const number Sekhar Nori 2014-03-28 8:35 ` [PATCH 2/2] ARM: OMAP2+: AM43x: L2 cache support Sekhar Nori 2014-03-28 8:35 ` Sekhar Nori 2014-03-28 10:50 ` Russell King - ARM Linux 2014-03-28 10:50 ` Russell King - ARM Linux 2014-03-28 10:49 ` [PATCH 1/2] ARM: OMAP2+: L2 cache: use macro instead of const number Russell King - ARM Linux 2014-03-28 10:49 ` Russell King - ARM Linux 2014-03-28 10:59 ` Sekhar Nori 2014-03-28 10:59 ` Sekhar Nori
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=5ea7277c21215c7b4aa776d5379dc2d6263228c6.1395994759.git.nsekhar@ti.com \ --to=nsekhar@ti.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-omap@vger.kernel.org \ --cc=tony@atomide.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.