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>
Showing
- common/cmd_nvedit.c 21 additions, 12 deletionscommon/cmd_nvedit.c
- common/env_dataflash.c 1 addition, 1 deletioncommon/env_dataflash.c
- common/env_eeprom.c 1 addition, 1 deletioncommon/env_eeprom.c
- common/env_flash.c 2 additions, 2 deletionscommon/env_flash.c
- common/env_mmc.c 1 addition, 1 deletioncommon/env_mmc.c
- common/env_nand.c 2 additions, 2 deletionscommon/env_nand.c
- common/env_nvram.c 1 addition, 1 deletioncommon/env_nvram.c
- common/env_onenand.c 1 addition, 1 deletioncommon/env_onenand.c
- common/env_sf.c 2 additions, 2 deletionscommon/env_sf.c
- include/search.h 2 additions, 1 deletioninclude/search.h
- lib/hashtable.c 13 additions, 2 deletionslib/hashtable.c
Loading
Please register or sign in to comment