diff options
author | Bryan Wu <pengw@nvidia.com> | 2014-04-18 10:44:01 -0700 |
---|---|---|
committer | Bryan Wu <pengw@nvidia.com> | 2014-04-18 10:44:01 -0700 |
commit | d03e1b861b9eaaf13fa37a8d4251d78b3814eaaf (patch) | |
tree | 25215aa363780ed8a4223941bbe924acf148d057 | |
parent | ec966db64d00394754a131c7e9e9a3e2b7407da4 (diff) | |
download | u-boot-d03e1b861b9eaaf13fa37a8d4251d78b3814eaaf.tar.gz |
ARM: tegra: increase buffer size and sys args num
Tegra kernel booting needs a long bootargs command line.
Default value of CONFIG_SYS_CBSIZE is too small to printf out the
long command line and will cause system panic.
Default value of CONFIG_SYS_MAXARGS is too small to setenv bootargs
as the long command line, then kernel won't boot without the complete
bootargs.
Increase this 2 config options solve this problem.
Signed-off-by: Bryan Wu <pengw@nvidia.com>
-rw-r--r-- | include/configs/tegra-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index ae786cfd7a..9fa28d4c31 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -87,11 +87,11 @@ * Increasing the size of the IO buffer as default nfsargs size is more * than 256 and so it is not possible to edit it */ -#define CONFIG_SYS_CBSIZE (256 * 2) /* Console I/O Buffer Size */ +#define CONFIG_SYS_CBSIZE (1024 * 2) /* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ sizeof(CONFIG_SYS_PROMPT) + 16) -#define CONFIG_SYS_MAXARGS 16 /* max number of command args */ +#define CONFIG_SYS_MAXARGS 64 /* max number of command args */ /* Boot Argument Buffer Size */ #define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE) |