env: erase/protect in envfs_save
So that the envfs_save is more useful outside of the saveenv command

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 54bea20 commit ebb8a4b59466dd366b6a04e3684e114a02cd8234
@Sascha Hauer Sascha Hauer authored on 9 Apr 2014
Showing 2 changed files
View
commands/saveenv.c
View
common/environment.c