[U-Boot] [PATCH] make fw_setenv write multiple variables

Marc Leeman marc.leeman at gmail.com
Thu Apr 30 13:31:18 CEST 2009


> This patch makes fw_setenv write multiple variables on a single command
> line. That is "fw_setenv var1 value1 var2 value2" will write all
> variables and values without the need to erase multiple times the
> environment.

IIRC fw_setenv uses the first word as key and all the rest as the value.
Judging on the description of your patch, this will probably break this
behaviour.

I wrote a fw_editenv with -k/-v flags a couple of years ago in order to
get around this, but i don't remember if I submitted it to the list.

-- 
  greetz, marc
Mediocrity finds safety in standardization.
		-- Frederick Crane
crichton 2.6.26 #1 PREEMPT Tue Jul 29 21:17:59 CDT 2008 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090430/2e68db27/attachment.pgp 


More information about the U-Boot mailing list