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

2013-03-15 Thread Javier Martinez Canillas
On Fri, Mar 15, 2013 at 12:35 PM, Enric Balletbo i Serra
 wrote:
> From: Enric Balletbo i Serra 
>
> 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 
> ---
>  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  */
> --

Hi Enric,

Looks good to me

Reviewed-by: Javier Martinez Canillas 
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2013-03-15 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra 

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 
---
 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

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot