diff options
Diffstat (limited to 'common/main.c')
-rw-r--r-- | common/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c index 026edd1..78a370d 100644 --- a/common/main.c +++ b/common/main.c @@ -526,7 +526,12 @@ void reset_cmd_timeout(void) #define CTL_CH(c) ((c) - 'a' + 1) +#if defined(CONFIG_MX53_SMD) && defined(CONFIG_SYS_CBSIZE) +#define MAX_CMDBUF_SIZE CONFIG_SYS_CBSIZE +#else #define MAX_CMDBUF_SIZE 256 +#endif + #define CTL_BACKSPACE ('\b') #define DEL ((char)255) |