]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
env: make "env default" selective, check and apply
authorGerlando Falauto <gerlando.falauto@keymile.com>
Fri, 24 Aug 2012 00:11:41 +0000 (00:11 +0000)
committerTom Rini <trini@ti.com>
Tue, 18 Sep 2012 19:01:52 +0000 (12:01 -0700)
commitb64b7c3df7906342ca8abe8ae31c0c12ced3f401
treed94787922964d2cc6dfd8b27cff971913dc2c3cb
parent152874b65b8060e7b026933ce332a9687256e28c
env: make "env default" selective, check and apply

Change the syntax (user API) for "env default":
  -f: override write-once variables
  var... : accept individual variable(s)
  -a: all (resetting the whole env is NOT the default behavior)

Enable variable checking and make changes effective by
enabling do_apply argument to himport_r().

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
common/cmd_nvedit.c
common/env_common.c
include/environment.h