Skip to contentSkip to conversation

ARM: AM33XX: Fix typo that causes an AM duplication in CPU name.

PATCH In review Enric Balletbo i Serra 3 participants 3 messages Mar 15, 2013 – Mar 26, 2013 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: AM33XX: Fix typo that causes an AM duplication in CPU name.

From: Enric Balletbo i Serra <[email protected]>

Just fix a typo displaying the CPU info. With CONFIG_DISPLAY_INFO we see something like AMAM335X-GP rev 0 instead of AM335X-GP rev 0.

---
 arch/arm/cpu/armv7/am33xx/sys_info.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv7/am33xx/sys_info.c +1 -1
index 507b618..db99e95 100644
@@ -120,7 +120,7 @@ int print_cpuinfo(void)
 		sec_s = "?";
 	}
 
-	printf("AM%s-%s rev %d\n",
+	printf("%s-%s rev %d\n",
 			cpu_s, sec_s, get_cpu_rev());
 
 	/* TODO: Print ARM and DDR frequencies  */
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 ARM: AM33XX: Fix typo that causes an AM duplication in CPU name.

Quoted 15 lines · Enric Balletbo i Serra

From: Enric Balletbo i Serra <[email protected]>

Just fix a typo displaying the CPU info. With CONFIG_DISPLAY_INFO we see something like AMAM335X-GP rev 0 instead of AM335X-GP rev 0.

---
 arch/arm/cpu/armv7/am33xx/sys_info.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv7/am33xx/sys_info.c +0 -0
index 507b618..db99e95 100644

arch/arm/cpu/armv7/am33xx/sys_info.c int print_cpuinfo(void)

Quoted 9 lines
arch/arm/cpu/armv7/am33xx/sys_info.c +1 -2
@@ -120,7 +120,7 @@ int print_cpuinfo(void)
                sec_s = "?";
        }
 
-       printf("AM%s-%s rev %d\n",
+       printf("%s-%s rev %d\n",
                        cpu_s, sec_s, get_cpu_rev());
 
        /* TODO: Print ARM and DDR frequencies  */
--

Hi Enric,

Looks good to me

#2 lore raw
In reply to Enric Balletbo i Serra
Quoted 7 lines · Enric Balletbo i Serra

From: Enric Balletbo i Serra <[email protected]>

Just fix a typo displaying the CPU info. With CONFIG_DISPLAY_INFO we see something like AMAM335X-GP rev 0 instead of AM335X-GP rev 0.

Applied to u-boot-ti/master (and already pulled into u-boot-arm), thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130326/1745372e/attachment.pgp>