[U-Boot] [PATCH] ARM: mxs: Make the console buffer smaller

Marek Vasut marex at denx.de
Sat Jun 15 23:41:28 CEST 2013


Using 1024 bytes for console buffer is unnecessarily too much,
lower the amount for all MXS boards to 256.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Fabio Estevam <fabio.estevam at freescale.com>
Cc: Lauri Hintsala <lauri.hintsala at bluegiga.com>
Cc: Otavio Salvador <otavio at ossystems.com.br>
Cc: Stefano Babic <sbabic at denx.de>
---
 include/configs/mxs.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Note: This depends on http://patchwork.ozlabs.org/patch/251631/

diff --git a/include/configs/mxs.h b/include/configs/mxs.h
index a684166..161d89d 100644
--- a/include/configs/mxs.h
+++ b/include/configs/mxs.h
@@ -92,7 +92,7 @@
 #ifndef CONFIG_SYS_PROMPT
 #define CONFIG_SYS_PROMPT	"=> "
 #endif
-#define CONFIG_SYS_CBSIZE	1024		/* Console I/O buffer size */
+#define CONFIG_SYS_CBSIZE	256		/* Console I/O buffer size */
 #define CONFIG_SYS_PBSIZE	\
 	(CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
 						/* Print buffer size */
-- 
1.7.10.4



More information about the U-Boot mailing list