[PATCH 1/2] command: Allocate history buffer using calloc()

Tom Rini trini at konsulko.com
Wed Dec 20 22:02:03 CET 2023


On Sat, Dec 02, 2023 at 09:52:30PM +0100, Marek Vasut wrote:

> 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 at mailbox.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231220/7b1a57a9/attachment.sig>


More information about the U-Boot mailing list