diff options
author | Oliver Brown <oliver.brown@freescale.com> | 2012-03-13 17:02:12 -0500 |
---|---|---|
committer | Oliver Brown <oliver.brown@freescale.com> | 2012-03-19 15:58:16 -0500 |
commit | e6ea6be624ce8382a00c5a851b871cc433c4fc3f (patch) | |
tree | 73fbac03f1c8fbb99a134cee2715af3ac3e4febc /common | |
parent | 06a31966975a32ff55cc9d04fbc8eea785d19c90 (diff) | |
download | u-boot-imx-e6ea6be624ce8382a00c5a851b871cc433c4fc3f.zip u-boot-imx-e6ea6be624ce8382a00c5a851b871cc433c4fc3f.tar.gz u-boot-imx-e6ea6be624ce8382a00c5a851b871cc433c4fc3f.tar.bz2 |
ENGR00177213 - U-Boot Changes for ICS iMX53 SMDimx-android-r14-alphamaddev-imx-android-r10.3
Increased maximum command buffer to 512 to handle long nfs string.
Added default arguments for booting from NFS.
Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
Diffstat (limited to 'common')
-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) |