On Saturday 17 December 2011 12:03:15 Pali Rohár wrote:
> --- a/common/env_common.c
> +++ b/common/env_common.c
>
> +#ifdef       CONFIG_PREMONITOR
> +     "premonitor="   CONFIG_PREMONITOR               "\0"
> +#endif
>
> --- a/common/main.c
> +++ b/common/main.c
> 
> +#ifdef CONFIG_PREMONITOR
> +     if ((s = getenv ("premonitor")) != NULL) {

i don't these should be the same define.  one is to control the default env var 
value only.  i would just drop the check in main.c.

> +# ifndef CONFIG_SYS_HUSH_PARSER
> +             run_command (s, 0);

no space before the "("
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to