Skip to content
Commit 400cb2a8 authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

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: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
parent 921f63e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment