Patchwork [U-Boot] omap3/sys_info: fix printout of OMAP36XX L3 freqency

login
register
mail settings
Submitter Andreas Bießmann
Date July 8, 2013, 1:21 p.m.
Message ID <1373289694-31593-1-git-send-email-andreas.devel@googlemail.com>
Download mbox | patch
Permalink /patch/257552/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Andreas Bießmann - July 8, 2013, 1:21 p.m.
The OMAP36xx/OMAP37xx family uses L3 frequency of 200MHz instead of 165MHz
used by OMAP34xx/OMAP35xx.

Also fix checkpatch warning about alignment.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
---
 arch/arm/cpu/armv7/omap3/sys_info.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Tom Rini - July 30, 2013, 1:29 p.m.
On Mon, Jul 08, 2013 at 03:21:34PM +0200, Andreas Bie??mann wrote:

> The OMAP36xx/OMAP37xx family uses L3 frequency of 200MHz instead of 165MHz
> used by OMAP34xx/OMAP35xx.
> 
> Also fix checkpatch warning about alignment.
> 
> Signed-off-by: Andreas Bie??mann <andreas.devel@googlemail.com>

Applied to u-boot-ti/master, thanks!

Patch

diff --git a/arch/arm/cpu/armv7/omap3/sys_info.c b/arch/arm/cpu/armv7/omap3/sys_info.c
index 08a63d2..a864eb9 100644
--- a/arch/arm/cpu/armv7/omap3/sys_info.c
+++ b/arch/arm/cpu/armv7/omap3/sys_info.c
@@ -355,9 +355,9 @@  int print_cpuinfo (void)
 	}
 
 	if (CPU_OMAP36XX == get_cpu_family())
-		printf("%s%s-%s ES%s, CPU-OPP2, L3-165MHz, Max CPU Clock %s\n",
-			cpu_family_s, cpu_s, sec_s,
-			rev_s_37xx[get_cpu_rev()], max_clk);
+		printf("%s%s-%s ES%s, CPU-OPP2, L3-200MHz, Max CPU Clock %s\n",
+		       cpu_family_s, cpu_s, sec_s,
+		       rev_s_37xx[get_cpu_rev()], max_clk);
 	else
 		printf("%s%s-%s ES%s, CPU-OPP2, L3-165MHz, Max CPU Clock %s\n",
 			cpu_family_s, cpu_s, sec_s,