[U-Boot] [PATCH 1/3] imx: Use a clear identification of an unidentified CPU type

Fabio Estevam festevam at gmail.com
Sun Jun 17 15:05:24 CEST 2012


On Sun, Jun 17, 2012 at 9:58 AM, Otavio Salvador
<otavio at ossystems.com.br> wrote:

> -static char *get_imx_type(u32 imxtype)
> +static const char *get_imx_type(u32 imxtype)

This is OK, but ...
>  {
>        switch (imxtype) {
>        case 0x63:
> @@ -80,7 +80,7 @@ static char *get_imx_type(u32 imxtype)
>        case 0x53:
>                return "53";
>        default:
> -               return "unknown";
> +               return "<unidentified>";

I really don't see any improvement here.


More information about the U-Boot mailing list