aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini2022-05-11 18:01:06 -0400
committerTom Rini2022-06-06 12:09:00 -0400
commitd31466b382dd05a5439d12d69ddd6e8eaff0e5e6 (patch)
tree56953530a99ba3b378932999e83ef6731698bf1a /cmd
parentd0ee7f295d742a80000cf6703a3fb9a7cb32ad68 (diff)
Convert CONFIG_SYS_CBSIZE to Kconfig
This converts the following to Kconfig: CONFIG_SYS_CBSIZE Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index b50e53e1480..06ec81007ad 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -75,6 +75,15 @@ config SYS_MAXARGS
int "Maximum number arguments accepted by commands"
default 16
+config SYS_CBSIZE
+ int "Console input buffer size"
+ default 2048 if ARCH_TEGRA || ARCH_VERSAL || ARCH_ZYNQ || ARCH_ZYNQMP || \
+ RCAR_GEN3 || TARGET_SOCFPGA_SOC64
+ default 512 if ARCH_MX5 || ARCH_MX6 || ARCH_MX7 || FSL_LSCH2 || \
+ FSL_LSCH3 || X86
+ default 256 if M68K || PPC
+ default 1024
+
config SYS_PBSIZE
int "Buffer size for console output"
default 1044