Sascha Hauer
420a3173f0
commands: remove maxargs
...
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>
2009-10-19 16:18:33 +02:00
Sascha Hauer
87e01f28cc
commands: return COMMAND_ERROR_USAGE
...
instead of calling u_boot_cmd_usage in each command to safe
space.
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer
50cc8c5412
Subject: [PATCH] [general] Fixed constant strings in data section issue
...
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>
2008-04-04 14:45:04 +02:00
Juergen Beisert
8fe25ecf12
adding various doku
2007-11-08 12:01:52 +01:00
sascha
288c97b89c
editor: Do not use ansi code for screen scrolling by default.
...
Add an aliases 'sedit' which does this.
2007-10-16 22:35:42 +02:00
Sascha Hauer
828dbf9f3c
edit: add 8 as backspace code
2007-10-04 18:36:24 +02:00
Sascha Hauer
9cce63fa33
add argument checking for edit.c
2007-10-04 12:38:40 +02:00
Sascha Hauer
b3dc734018
declare lots of functions static
2007-09-28 10:07:26 +02:00
Sascha Hauer
79ed00ba92
pass file size from read_file
2007-09-27 16:33:35 +02:00
Sascha Hauer
9e13a384c0
use xrealloc instead of realloc
2007-09-27 16:28:26 +02:00
Sascha Hauer
6057d62524
learn to realloc
2007-09-27 16:27:20 +02:00
Sascha Hauer
3cbc5c5c12
remove u-boot command paramter flag
2007-09-24 12:31:08 +02:00
Sascha Hauer
466078dbb2
fix a bug in the editor when reading files which do not have
...
a \n at the last line
2007-09-13 12:56:29 +02:00
Sascha Hauer
6f779cc1c5
- fix memory hole
...
- fix reading of empty lines
- put the command prompt at the beginning of the line when exiting edit
2007-07-13 20:42:18 +02:00
Sascha Hauer
75a10b942c
svn_rev_706
...
add file headers
2007-07-05 18:02:19 +02:00
Sascha Hauer
4b07af6730
svn_rev_643
...
structure cleanup
2007-07-05 18:02:13 +02:00