Skip to contentSkip to conversation

MX51: Fix MX51 CPU detect message

PATCH New Fabio Estevam 2 participants 2 messages Apr 23, 2010 – Apr 24, 2010 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MX51: Fix MX51 CPU detect message

Fix MX51 CPU detect message.

Original string was:
CPU: Freescale i.MX51 family 3.0V at 800 MHz

which can be misinterpreted as 3.0 Volts instead of the silicon revision.

,change it to:
CPU: Freescale i.MX51 family rev3.0 at 800 MHz

---
 arch/arm/cpu/arm_cortexa8/mx51/soc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/cpu/arm_cortexa8/mx51/soc.c +1 -1
index 2a139b2..f22ebe9 100644
@@ -67,7 +67,7 @@ int print_cpuinfo(void)
 	u32 cpurev;
 
 	cpurev = get_cpu_rev();
-	printf("CPU:   Freescale i.MX51 family %d.%dV at %d MHz\n",
+	printf("CPU:   Freescale i.MX51 family rev%d.%d at %d MHz\n",
 		(cpurev & 0xF0) >> 4,
 		(cpurev & 0x0F) >> 4,
 		mxc_get_clock(MXC_ARM_CLK) / 1000000);
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 MX51: Fix MX51 CPU detect message

Quoted 21 lines · Fabio Estevam

Fix MX51 CPU detect message.

Original string was:
CPU: Freescale i.MX51 family 3.0V at 800 MHz

which can be misinterpreted as 3.0 Volts instead of the silicon revision.

,change it to:
CPU: Freescale i.MX51 family rev3.0 at 800 MHz

---
 arch/arm/cpu/arm_cortexa8/mx51/soc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/cpu/arm_cortexa8/mx51/soc.c +0 -0
index 2a139b2..f22ebe9 100644

arch/arm/cpu/arm_cortexa8/mx51/soc.c int print_cpuinfo(void) · line 73

Quoted 8 lines
arch/arm/cpu/arm_cortexa8/mx51/soc.c +1 -1
@@ -67,7 +67,7 @@ int print_cpuinfo(void)
 	u32 cpurev;
 
 	cpurev = get_cpu_rev();
-	printf("CPU:   Freescale i.MX51 family %d.%dV at %d MHz\n",
+	printf("CPU:   Freescale i.MX51 family rev%d.%d at %d MHz\n",
 		(cpurev & 0xF0) >> 4,
 		(cpurev & 0x0F) >> 4,
 		mxc_get_clock(MXC_ARM_CLK) / 1000000);

Applied to u-boot-imx, thanks.

Regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================