[U-Boot] [PATCH 1/5] vybrid: add vybrid CPU support

wang alison alisonwang2013 at gmail.com
Sat Apr 13 09:42:33 CEST 2013


Hi, Fabio,


On Fri, Apr 12, 2013 at 3:53 AM, Alison Wang <b18965 at freescale.com> wrote:

> +static char *get_reset_cause(void)
> +{
> +       char *resetcause[32] = {"POR",
> +                               "Cortex A5 WDOG Timer Reset",
> +                               0,

You mix strings and an integer zero here. Shouldn't you replace the
'0' with "unknown" or "invalid" ?

[Alison] I will replace it with "unknown".

Thanks!

Best Regards,
Alison Wang


More information about the U-Boot mailing list