]> git.dujemihanovic.xyz Git - u-boot.git/commit
command: Move command completion temporary buffer to stack
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 2 Dec 2023 20:52:31 +0000 (21:52 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 20 Dec 2023 15:46:54 +0000 (10:46 -0500)
commit0de448d03254617a902bc6081a7aba214b54b69d
tree21f4d75dbec7d6c9b278964635036622c69bef72
parent400cb2a850546e8cc9246cf97f0902ffe57867ab
command: Move command completion temporary buffer to stack

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@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/command.c