[U-Boot] [PATCH] ARM: AM33XX: Fix typo that causes an AM duplication in CPU name.

Enric Balletbo i Serra eballetbo at gmail.com
Fri Mar 15 12:35:37 CET 2013


From: Enric Balletbo i Serra <eballetbo at iseebcn.com>

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.

Signed-off-by: Enric Balletbo i Serra <eballetbo at iseebcn.com>
---
 arch/arm/cpu/armv7/am33xx/sys_info.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/am33xx/sys_info.c b/arch/arm/cpu/armv7/am33xx/sys_info.c
index 507b618..db99e95 100644
--- a/arch/arm/cpu/armv7/am33xx/sys_info.c
+++ b/arch/arm/cpu/armv7/am33xx/sys_info.c
@@ -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  */
-- 
1.7.10.4



More information about the U-Boot mailing list