summaryrefslogtreecommitdiffstats
path: root/commands/flash.c
Commit message (Collapse)AuthorAgeFilesLines
* trivial: fix command case for erase usage lineUwe Kleine-König2010-03-301-1/+1
| | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* cfi_flash: move include/cfi_flash.c next to driverSascha Hauer2010-02-081-1/+0
| | | | | | | | This file has no useful things for others than the driver, so move it next to the driver and remove the corresponding include from other files. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove typedef cmd_tbl_t and replace it with struct commandSascha Hauer2010-02-011-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-151-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* 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