On Fri, Jul 15, 2011 at 03:39, Detlev Zundel wrote:
>> On Wednesday, July 06, 2011 06:36:00 Wolfgang Denk wrote:
>>> For consistency I would prefer to have all commands return the same
>>> type of information, i. e. either an error status (like we do with all
>>> other commands - any result values would then have to be passed as
>>> environment settings)
>>
>> going through the env seems a little wonky.  i dont know of any other 
>> commands
>> that do this, so i dont think there's any standard to work off of here ...
>
> I believe Wolfgang means for example this:
>
> ,----[ common/cmd_setexpr.c ]
> | U_BOOT_CMD(
> |         setexpr, 5, 0, do_setexpr,
> |         "set environment variable as the result of eval expression",
> |         "[.b, .w, .l] name value1 <op> value2\n"
> |         "    - set environment variable 'name' to the result of the 
> evaluated\n"
> |         "      express specified by <op>.  <op> can be &, |, ^, +, -, *, /, 
> %\n"
> |         "      size argument is only meaningful if value1 and/or value2 are 
> memory addresses"
> | );
> `----

ah, this makes things much more clear, thanks
-mike
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to