summaryrefslogtreecommitdiffstats
path: root/commands
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into nextSascha Hauer2011-01-171-1/+1
|\
| * nand: fix printf compiler warningsSascha Hauer2011-01-071-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | BMP: Add support for 32bpp video frame bufferGregory CLEMENT2011-01-141-0/+1
| | | | | | | | | | Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Fix error handling with malloc, memalign etc. Introduce xmemalign().Krzysztof Halasa2011-01-071-3/+1
|/ | | | | | | | | | | | | | The idea is to panic() when there is no memory available for normal operation. Exception: code which can consume arbitrary amount of RAM (example: files allocated in ramfs) must report error instead of panic(). This patch also fixes code which didn't check for NULL from malloc() etc. Usage: malloc(), memalign() return NULL when out of RAM. xmalloc(), xmemalign() always return non-NULL or panic(). Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix a typo in the GPIO docJuergen Beisert2010-12-211-1/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* xyzModem.c: fix 'dummy' is used uninitialized in this function warningFabio Porcedda2010-12-211-1/+1
| | | | | | | | | | | | fix this gcc 4.4 warning: xyzModem.c: In function 'xyzModem_stream_open': xyzModem.c:564: warning: 'dummy' is used uninitialized in this function Copied from U-Boot Signed-off-by: Fabio Porcedda <fabio.porcedda@telit.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Cosmetic fixes, including format attributes for printf() and friends.Krzysztof Halasa2010-12-216-8/+7
| | | | | Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix help text for "loadb" and "loady" commands.Krzysztof Halasa2010-12-211-1/+1
| | | | | Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* LED: Add trigger commandSascha Hauer2010-12-203-0/+116
| | | | | | This patch allows controlling LED triggers vie the command line. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* LED: Add led commandSascha Hauer2010-12-203-0/+98
| | | | | | This patch allows controlling LEDs via the command line. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'master' into nextSascha Hauer2010-11-171-1/+1
|\
| * linux16: fix cmd_tbl_t as struct commandJean-Christophe PLAGNIOL-VILLARD2010-11-171-1/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Remove m68k supportSascha Hauer2010-11-171-1/+0
|/ | | | | | | | | The m68k support is compile broken for a long time now and nobody cared so far. We cannot keep the architecture uptodate with current development wihtout being able to compile it. It's still in the archives and can be re-added anytime once somebody cares for. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: unify documentation for 'linux16'Robert Schwebel2010-11-021-13/+12
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'setenv'Robert Schwebel2010-11-021-17/+13
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'saveenv'Robert Schwebel2010-11-021-17/+14
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'protect' and 'unprotect'Robert Schwebel2010-11-021-28/+42
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'printenv'Robert Schwebel2010-11-021-17/+13
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'mount'Robert Schwebel2010-11-021-41/+37
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: remove ..., confuses doxygenRobert Schwebel2010-11-021-1/+1
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'loadenv'Robert Schwebel2010-11-021-20/+14
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'export'Robert Schwebel2010-11-011-10/+4
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: rework and unify documentation for gpio commandsRobert Schwebel2010-11-011-47/+55
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'erase'Robert Schwebel2010-11-011-14/+16
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'delpart'Robert Schwebel2010-11-011-14/+21
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'cp'Robert Schwebel2010-11-011-16/+14
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'addpart'Robert Schwebel2010-11-011-33/+17
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: add documentation for 'bootm'Robert Schwebel2010-11-011-15/+23
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'edit'Robert Schwebel2010-11-011-24/+14
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: add documentation for 'echo'Robert Schwebel2010-11-011-0/+17
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'cd'Robert Schwebel2010-11-011-12/+5
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'cat'Robert Schwebel2010-11-011-13/+6
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: unify documentation for 'ls'Robert Schwebel2010-11-011-4/+5
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: add documentation for 'dfu'Robert Schwebel2010-11-011-10/+18
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: add documentation for 'crc32'Robert Schwebel2010-11-011-8/+7
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: add documentation for 'clear'Robert Schwebel2010-11-011-0/+5
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: add documentation for 'bmp'Robert Schwebel2010-11-011-8/+19
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: add missing quotingRobert Schwebel2010-10-221-1/+1
| | | | | | | | | | Silence this warning: /home/rsc/git/barebox/commands/partition.c:177: Warning: Found unknown command `\offset1' /home/rsc/git/barebox/commands/partition.c:177: Warning: Found unknown command `\offset2' Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix a simple typo to less confusing the userJuergen Beisert2010-10-221-1/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add some help using the gpio commands at runtimeJuergen Beisert2010-10-221-0/+61
| | | | | | | | | Last time I used the gpio commands I was somehow confused about the behaviour of the 'gpio_get_value' command. So, I decided to add some doc for it. Here's the result. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove strange flush_cache functionsSascha Hauer2010-10-212-2/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootm: sparse fixesSascha Hauer2010-10-211-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands/mem.c: make locally used function staticSascha Hauer2010-10-211-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* edit: make locally used variable staticSascha Hauer2010-10-211-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* version_string: sparse fixesSascha Hauer2010-10-211-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* edit: sparse fixesSascha Hauer2010-10-211-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* image: remove confusing image_check_* functionsSascha Hauer2010-10-131-4/+4
| | | | | | | | | | | The function names do not make it clear what return value is expected and do not save a single line of code. Put the code inline and unbreak the wrong checks introduced with a3c1e5d888d0ee317ffc7635694684bb71213c9c. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Eric Bénard <eric@eukrea.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* commands/crc32: add compare 2 files crcJean-Christophe PLAGNIOL-VILLARD2010-10-122-37/+79
| | | | | | | | | | | add -F options to compare to file crc it's usefull to compare what you flash in a partition it's selectable by CONFIG_CMD_CRC_CMP Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* image: factorise image printing contentsJean-Christophe PLAGNIOL-VILLARD2010-10-081-45/+1
| | | | | | Copied from U-Boot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Replace direct header access with the API routinesJean-Christophe PLAGNIOL-VILLARD2010-10-081-37/+42
| | | | | | Copied from U-Boot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>