[U-Boot] [PATCH 7/7] mx6ul_14x14_evk: Use the default CONFIG_SYS_PBSIZE

Fabio Estevam festevam at gmail.com
Wed Sep 9 16:16:44 CEST 2015


From: Fabio Estevam <fabio.estevam at freescale.com>

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 at freescale.com>
---
 include/configs/mx6ul_14x14_evk.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index ff4f231..4285116 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -133,9 +133,6 @@
 	   "else run netboot; fi"
 
 /* Miscellaneous configurable options */
-/* Print Buffer Size */
-#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
-
 #define CONFIG_CMD_MEMTEST
 #define CONFIG_SYS_MEMTEST_START	0x80000000
 #define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_MEMTEST_START + 0x10000000)
-- 
1.9.1



More information about the U-Boot mailing list