[PATCH] cli: Reduce size of readline buffers in SPL

Simon Glass sjg at chromium.org
Wed Aug 31 04:59:01 CEST 2022


On Tue, 30 Aug 2022 at 14:40, Sean Anderson <sean.anderson at seco.com> wrote:
>
> 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 at seco.com>
> ---
>
>  common/cli_readline.c | 5 +++++
>  1 file changed, 5 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list