summaryrefslogtreecommitdiffstats
path: root/include/configs/apalis_t30.h
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel@ziswiler.com>2015-03-01 02:05:39 +0100
committerTom Warren <twarren@nvidia.com>2015-03-04 10:09:02 -0700
commitd5338c693e6a35a7108c184839d688a7377d117c (patch)
tree20abeea785b7f6ccde64b7f7487061a7293e30b0 /include/configs/apalis_t30.h
parent3d1282ffb81a523a28bdcfea1adb47424e60c7b3 (diff)
downloadtalos-obmc-uboot-d5338c693e6a35a7108c184839d688a7377d117c.tar.gz
talos-obmc-uboot-d5338c693e6a35a7108c184839d688a7377d117c.zip
apalis/colibri_t30: add misc cmds increase buf sizes and max args
In order to work with our downstream U-Boot environment and update scripts add support for the following miscellaneous commands: CONFIG_CMD_SETEXPR CONFIG_FAT_WRITE Increase the console I/O and print as well as argument buffer sizes: CONFIG_SYS_CBSIZE CONFIG_SYS_PBSIZE CONFIG_SYS_BARGSIZE Increase the maximum number of arguments allowed: CONFIG_SYS_MAXARGS Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/apalis_t30.h')
-rw-r--r--include/configs/apalis_t30.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h
index c87086b3b1..6d38853ed0 100644
--- a/include/configs/apalis_t30.h
+++ b/include/configs/apalis_t30.h
@@ -60,6 +60,25 @@
#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
+/* Miscellaneous commands */
+#define CONFIG_CMD_SETEXPR
+#define CONFIG_FAT_WRITE
+
+/* Increase console I/O buffer size */
+#undef CONFIG_SYS_CBSIZE
+#define CONFIG_SYS_CBSIZE 1024
+
+/* Increase arguments buffer size */
+#undef CONFIG_SYS_BARGSIZE
+#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
+
+/* Increase print buffer size */
+#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
+
+/* Increase maximum number of arguments */
+#undef CONFIG_SYS_MAXARGS
+#define CONFIG_SYS_MAXARGS 32
+
#include "tegra-common-usb-gadget.h"
#include "tegra-common-post.h"
OpenPOWER on IntegriCloud