[U-Boot] [PATCH v2] mkimage: add "-V" option to print version information

Wolfgang Denk wd at denx.de
Fri Feb 11 23:35:50 CET 2011


Dear Albert ARIBAUD,

In message <4D55B03A.9030602 at free.fr> you wrote:
> 
> Please ignore my previous post on V1, I had not seen V2. My comment
> holds, though:
...
> > +			case 'V':
> > +				printf("mkimage version %s\n",
> > +					U_BOOT_VERSION + 7);
>
> If that magic number 7 (and the addition, as well) has any reason, it >
> should at least be explained in a short comment.

Heh... I though I could leave this as an exercide for the reader ;-)

New version following...


Thanks for pointing out.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The hottest places in Hell are reserved for those who, in  times  of
moral crisis, preserved their neutrality."                    - Dante


More information about the U-Boot mailing list