]> git.sur5r.net Git - u-boot/commit
env: allow to export only selected variables
authorWolfgang Denk <wd@denx.de>
Sun, 6 Nov 2011 21:49:44 +0000 (22:49 +0100)
committerWolfgang Denk <wd@denx.de>
Tue, 8 Nov 2011 12:20:42 +0000 (13:20 +0100)
commit37f2fe7472a34531e7d585eb7e0730b4f8e1f213
treedf4a0306161ef740045c011f6847ed50fb47a120
parent5721385b187b3154c7768e6c182501022f4e2e45
env: allow to export only selected variables

New syntax:
env export [-t | -b | -c] [-s size] addr [var ...]

With this change it is possible to provide a list of variables names
that shall be exported.  Whenno arguments are given, the whole
environment gets exported.

NOTE: The new handling of the "size" argument means a change to the
user API.

Signed-off-by: Wolfgang Denk <wd@denx.de>
common/cmd_nvedit.c
common/env_dataflash.c
common/env_eeprom.c
common/env_flash.c
common/env_mmc.c
common/env_nand.c
common/env_nvram.c
common/env_onenand.c
common/env_sf.c
include/search.h
lib/hashtable.c