summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/config_fallbacks.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h
index d1bde5f07c..07df99664c 100644
--- a/include/config_fallbacks.h
+++ b/include/config_fallbacks.h
@@ -72,6 +72,15 @@
#define CONFIG_LIB_RAND
#endif
+/* Console I/O Buffer Size */
+#ifndef CONFIG_SYS_CBSIZE
+#if defined(CONFIG_CMD_KGDB)
+#define CONFIG_SYS_CBSIZE 1024
+#else
+#define CONFIG_SYS_CBSIZE 256
+#endif
+#endif
+
#ifndef CONFIG_SYS_PBSIZE
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + 128)
#endif