From 0b4e450556a05d78d1eaf4921180916eb5939c9a Mon Sep 17 00:00:00 2001 From: Bo Shen Date: Wed, 2 Sep 2015 18:00:06 +0800 Subject: ARM: atmel: boards: use 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 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: Bo Shen Signed-off-by: Josh Wu --- include/configs/at91-sama5_common.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/configs/at91-sama5_common.h') diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h index de5f12e..3d6b0ae 100644 --- a/include/configs/at91-sama5_common.h +++ b/include/configs/at91-sama5_common.h @@ -105,8 +105,6 @@ #define CONFIG_SYS_CBSIZE 256 #define CONFIG_SYS_MAXARGS 16 -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ - sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_LONGHELP #define CONFIG_CMDLINE_EDITING #define CONFIG_AUTO_COMPLETE -- cgit v1.1