cli: Reduce size of readline buffers in SPL
authorSean Anderson <sean.anderson@seco.com>
Tue, 30 Aug 2022 20:40:37 +0000 (16:40 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 15 Sep 2022 13:55:30 +0000 (09:55 -0400)
commit069f0d7506f6e256f9e2ade82e315ef976dfb9ba
treec331ee5014fe5c7dcbd925cccb6379a9ed43afe5
parentf6f681642f0d730887bfe944b029cb6f76a35fb6
cli: Reduce size of readline buffers in SPL

Normally, readline is not used int SPL. However, it may be useful to
enable the Freescale DDR interactive mode in SPL, while U-Boot is still
executing from SRAM. The default settings for readline result in a large
buffer being allocated. Reduce the size of the maximum input line, and
the number of lines of scrollback when building for SPL.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cli_readline.c