summaryrefslogtreecommitdiffstats
path: root/commands/flash.c
Commit message (Collapse)AuthorAgeFilesLines
* commands: remove maxargsSascha Hauer2009-10-191-3/+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>
* commands: return COMMAND_ERROR_USAGESascha Hauer2009-10-191-8/+4
| | | | | | | instead of calling u_boot_cmd_usage in each command to safe space. Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* protect command: ignore -ENOSYSSascha Hauer2009-10-121-2/+3
| | | | | | | Return success on -ENOSYS. (un)protecting a device which is not protectable should not irritate users. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add missing close() in do_protectSascha Hauer2008-08-131-4/+7
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* CFI Flash driver: Fix error pathSascha Hauer2008-08-131-9/+10
| | | | | | We forgot to close the file when parse_area_spec() failed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Subject: [PATCH] [general] Fixed constant strings in data section issueSascha Hauer2008-04-041-2/+2
| | | | | | | | 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>
* various doc addedJuergen Beisert2007-11-091-0/+40
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* various small typos fixedJuergen Beisert2007-10-161-3/+2
|
* fix area parsing for erase/protect, add error parsingSascha Hauer2007-10-091-3/+9
|
* declare lots of functions staticSascha Hauer2007-09-281-2/+2
|
* remove u-boot command paramter flagSascha Hauer2007-09-241-2/+2
|
* whitespace cleanupSascha Hauer2007-09-131-1/+1
|
* Do not use -f <file> to specify the device for erase and protect, butSascha Hauer2007-09-111-23/+27
| | | | instead se positional parameters.
* implement flash protectionSascha Hauer2007-07-161-16/+47
|
* fix printf in do_flerase()Sascha Hauer2007-07-141-1/+1
|
* svn_rev_653Sascha Hauer2007-07-051-0/+125
restructure tree, add reginfo command