commit | 400cb2a850546e8cc9246cf97f0902ffe57867ab | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Sat Dec 02 21:52:30 2023 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Dec 20 10:46:54 2023 -0500 |
tree | 4418f6d17faf5c99111b67786097a952e05f2981 | |
parent | 921f63e5723880bbbaf65429564e5638b7bbd002 [diff] |
command: Allocate history buffer using calloc() The history buffer is currently a static array which can be some 10-40 kiB depending on configuration, and so adds considerably to the U-Boot binary size. Allocate it dynamically instead to reduce the U-Boot binary size. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>