diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-08-23 22:59:01 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-03 15:30:27 -0400 |
commit | 80c914f1bb86d1b14a3cd993afdd20287d7a314b (patch) | |
tree | 66df7dce97177f7ec5a59f7b13a84b9d1e61d73f /include/config_fallbacks.h | |
parent | 3784c789e7e8de3d022ddf198b01e54b68971cd5 (diff) |
include/config_fallbacks.h: change fallback for CONFIG_SYS_PBSIZE
Most of the platforms are using CONFIG_SYS_CBSIZE +
sizeof(CONFIG_SYS_PROMPT) + 16 as their value for CONFIG_SYS_PBSIZE,
so let's adopt this for the fallback value of CONFIG_SYS_PBSIZE.
This will allow us to drop an explicit definition of CONFIG_SYS_PBSIZE
from a large number of platforms.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/config_fallbacks.h')
-rw-r--r-- | include/config_fallbacks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index 07df99664c..6a6350e0a1 100644 --- a/include/config_fallbacks.h +++ b/include/config_fallbacks.h @@ -82,7 +82,7 @@ #endif #ifndef CONFIG_SYS_PBSIZE -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + 128) +#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #endif #ifndef CONFIG_FIT_SIGNATURE |