]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mx6sabre_common: Use the default CONFIG_SYS_PBSIZE
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 27 Nov 2014 22:41:45 +0000 (20:41 -0200)
committerStefano Babic <sbabic@denx.de>
Mon, 1 Dec 2014 09:20:21 +0000 (10:20 +0100)
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 <fabio.estevam@freescale.com>
include/configs/mx6sabre_common.h

index 9fdd8410a421f12110d0c3856695114ceef45777..f0f721e9b7ef586ed0a0776167e17365529c047c 100644 (file)
 #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