summaryrefslogtreecommitdiffstats
path: root/commands/saveenv.c
Commit message (Collapse)AuthorAgeFilesLines
* Enable 'saveenv' for non eraseable mediaJuergen Beisert2009-11-191-2/+3
| | | | | | | | | 'close()' clobbers the 'errno' value from the erase command. So it must be done *after* the check for ENOSYS to ingnore it correctly. Signed-off by: Juergen Beisert <j.beisert@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: remove maxargsSascha Hauer2009-10-191-1/+0
| | | | | | | No need to check for maximum argument counts. The commands are safe to be called with more arguments, so lets safe some bytes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* saveenv: close fileSascha Hauer2008-08-131-2/+5
| | | | | | | | Close the file in saveenv before calling envfs_save and reopen it afterwards. NAND Bad block aware devices allow opening a file only once. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Subject: [PATCH] [general] Fixed constant strings in data section issueSascha Hauer2008-04-041-1/+1
| | | | | | | | For practical reasons I changed all string literals assumed to be constant to reside in .rodata subsection at end of .text section. Signed-off-by: Carsten Schlote <schlote@vahanus.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* separating environment commands, part 2Juergen Beisert2007-11-121-0/+119
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>