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

Fabio Estevam festevam at gmail.com
Fri Apr 12 13:15:46 CEST 2013


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

Regards,

Fabio Estevam


More information about the U-Boot mailing list