diff options
author | Tom Rini <trini@konsulko.com> | 2022-09-15 09:59:47 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-15 09:59:47 -0400 |
commit | d9e85eeebabd5fc0c95be96bd70fa7362eb89f33 (patch) | |
tree | f3f4c2a9d5d19e8b548ce6ed98fbd5610d30bdd7 /common/cli_readline.c | |
parent | 1520af3f8450bb58168fe1cc827a56d435e9f74c (diff) | |
parent | 0cd933bb4bd74084d942c42098ebf9e07d9e0f63 (diff) |
Merge branch '2022-09-15-general-improvements' into next
- Add uncompressed kernel image support to falcon mode, TEE
improvements, make xyz-modem timeout configurable, gpio updates and
other assorted improvements.
Diffstat (limited to 'common/cli_readline.c')
-rw-r--r-- | common/cli_readline.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/cli_readline.c b/common/cli_readline.c index e86ee73faf7..f883b7ffac8 100644 --- a/common/cli_readline.c +++ b/common/cli_readline.c @@ -72,8 +72,13 @@ static char *delete_char (char *buffer, char *p, int *colp, int *np, int plen) #define getcmd_getch() getchar() #define getcmd_cbeep() getcmd_putch('\a') +#ifdef CONFIG_SPL_BUILD +#define HIST_MAX 3 +#define HIST_SIZE 32 +#else #define HIST_MAX 20 #define HIST_SIZE CONFIG_SYS_CBSIZE +#endif static int hist_max; static int hist_add_idx; |