commit | 6210f6de25572a23390c06c300bf555883491439 | [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 | 7a164f81f8e9a3f5991a06ba53f30c845b4ae40b [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>