projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6475b9f
)
cmd history: Match history buffer size to console buffer
author
John Schmoller
<jschmoller@xes-inc.com>
Fri, 12 Mar 2010 15:49:24 +0000
(09:49 -0600)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 21 Mar 2010 21:44:59 +0000
(22:44 +0100)
Match history buffer size to console buffer size. History buffer size
was hard coded to 256, artificially limiting the command buffer size.
The history buffer now tracks CONFIG_SYS_CBSIZE.
Signed-off-by: John Schmoller <jschmoller@xes-inc.com>
common/main.c
patch
|
blob
|
history
diff --git
a/common/main.c
b/common/main.c
index 6fec2009703ed7057df64ddff39b3e914309391c..3949a5bb226e8b469529d7d56a068a7ca7a9a6a1 100644
(file)
--- a/
common/main.c
+++ b/
common/main.c
@@
-526,7
+526,7
@@
void reset_cmd_timeout(void)
#define CTL_CH(c) ((c) - 'a' + 1)
-#define MAX_CMDBUF_SIZE
256
+#define MAX_CMDBUF_SIZE
CONFIG_SYS_CBSIZE
#define CTL_BACKSPACE ('\b')
#define DEL ((char)255)