[U-Boot] [RFC 2/2 v2] command: Remove maxargs from command structure

Kim Phillips kim.phillips at freescale.com
Fri Mar 12 21:58:12 CET 2010


On Fri, 12 Mar 2010 13:25:31 -0600
John Schmoller <jschmoller at xes-inc.com> wrote:

> +/*
> + * Command Errors:
> + */
> +#define CMD_ERR_USAGE		256
> +

can we just use something like -EINVAL instead of reinventing the error
codes wheel?

Thanks,

Kim


More information about the U-Boot mailing list