[PATCH 2/2] command: Move command completion temporary buffer to stack
Simon Glass
sjg at chromium.org
Sun Dec 3 18:44:27 CET 2023
On Sat, 2 Dec 2023 at 13:53, Marek Vasut
<marek.vasut+renesas at mailbox.org> wrote:
>
> The command completion temporary buffer seems to be only
> used by the argv tokenizer, move it to stack. This saves
> 2 kiB from the binary size (depends on configuration) per:
> $ aarch64-linux-gnu-readelf -s u-boot | sort -n -k 3
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> ---
> Cc: Simon Glass <sjg at chromium.org>
> ---
> common/command.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list