]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mx6sxsabresd: Use the default CONFIG_SYS_PBSIZE
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 2 Mar 2015 17:14:25 +0000 (14:14 -0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:28:33 +0000 (14:28 +0200)
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 extra 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/mx6sxsabresd.h

index 8545ed4b08b698f3a1ef2d66567842f4af40a102..14cb3bc6bba508c1443ae70499717f05848bff34 100644 (file)
 #define CONFIG_AUTO_COMPLETE
 #define CONFIG_SYS_CBSIZE              1024
 
-/* Print Buffer Size */
-#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
 #define CONFIG_SYS_MAXARGS             256
 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE