From: Fabio Estevam Date: Thu, 27 Nov 2014 22:41:45 +0000 (-0200) Subject: mx6sabre_common: Use the default CONFIG_SYS_PBSIZE X-Git-Tag: v2015.01-rc4~30^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=16159be761c2f8f2a3c33e307e5fc9865191e3da;p=u-boot mx6sabre_common: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Signed-off-by: Fabio Estevam --- diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index 9fdd8410a4..f0f721e9b7 100644 --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -220,9 +220,6 @@ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 - -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE