From e6ea6be624ce8382a00c5a851b871cc433c4fc3f Mon Sep 17 00:00:00 2001 From: Oliver Brown Date: Tue, 13 Mar 2012 17:02:12 -0500 Subject: ENGR00177213 - U-Boot Changes for ICS iMX53 SMD Increased maximum command buffer to 512 to handle long nfs string. Added default arguments for booting from NFS. Signed-off-by: Oliver Brown --- common/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/main.c') 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) -- cgit v1.1