Tools: set multiple variable with fw_setenv utility
authorStefano Babic <sbabic@denx.de>
Mon, 24 May 2010 10:08:16 +0000 (12:08 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Jun 2010 20:43:27 +0000 (22:43 +0200)
commitbd7b26f879413aa5a662718c09dab65d3a24a201
treec8f9939fac2b3c1da7aae7604bedc1d344d5191e
parent3746a5e65ceeccf7e766df6263d2994b9abcc60e
Tools: set multiple variable with fw_setenv utility

Add a sort of batch mode to fw_setenv, allowing to set
multiple variables in one shot, without updating the flash after
each set as now. It is added the possibility to pass
a config file with a list of pairs <variable, value> to be set,
separated by a TAB character.

Signed-off-by: Stefano Babic <sbabic@denx.de>
tools/env/fw_env.c
tools/env/fw_env.h
tools/env/fw_env_main.c