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

Javier Martinez Canillas javier at dowhile0.org
Fri Mar 15 12:51:14 CET 2013


On Fri, Mar 15, 2013 at 12:35 PM, Enric Balletbo i Serra
<eballetbo at gmail.com> wrote:
> 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  */
> --

Hi Enric,

Looks good to me

Reviewed-by: Javier Martinez Canillas <javier at dowhile0.org>


More information about the U-Boot mailing list