From: John Schmoller Date: Fri, 12 Mar 2010 15:49:24 +0000 (-0600) Subject: cmd history: Match history buffer size to console buffer X-Git-Tag: v2010.06-rc1~139^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d611295032c30e6c533cb356005fa82ab7992824;p=u-boot cmd history: Match history buffer size to console buffer 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 --- diff --git a/common/main.c b/common/main.c index 6fec200970..3949a5bb22 100644 --- 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)