]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cgtqmx6eval: Use the default CONFIG_SYS_PBSIZE
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 23 Jul 2015 14:02:20 +0000 (11:02 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 26 Jul 2015 10:21:58 +0000 (12:21 +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: Otavio Salvador <otavio@ossystems.com.br>
include/configs/cgtqmx6eval.h

index 5f753e7ab5f1e88deaf7c34338cd1a9864b26e67..9d9e38874e51b45983849e17d8399be425c9759e 100644 (file)
@@ -87,9 +87,6 @@
                   "fi; " \
           "else echo ERR: Fail to boot from mmc; fi"
 
-/* Print Buffer Size */
-#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
-
 #define CONFIG_SYS_MEMTEST_START       0x10000000
 #define CONFIG_SYS_MEMTEST_END        0x10010000
 #define CONFIG_SYS_MEMTEST_SCRATCH     0x10800000