From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 0/3] bootm: make uImage support optional
Date: Tue, 30 Apr 2024 20:06:30 +0200 [thread overview]
Message-ID: <20240430180633.1581279-1-a.fatoum@pengutronix.de> (raw)
While looking into CONFIG_TIMESTAMP, I noticed we still build UIMAGE
support unconditionally, when BOOTM is enabled. This series makes it
optional as most users no longer need it.
Saves me 4KiB in an LZO-compressed ARM64 image.
Ahmad Fatoum (3):
uimage: move file_to_sdram implementation to libfile
bootm: allow disabling uImage support
uimage: have TIMESTMAP depend on UIMAGE
commands/Kconfig | 1 -
common/Kconfig | 13 ++++++++--
common/bootm.c | 22 +++++++++++++----
common/uimage.c | 59 ---------------------------------------------
include/image.h | 1 -
include/libfile.h | 4 ++++
lib/libfile.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 93 insertions(+), 68 deletions(-)
--
2.39.2
next reply other threads:[~2024-04-30 18:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 18:06 Ahmad Fatoum [this message]
2024-04-30 18:06 ` [PATCH 1/3] uimage: move file_to_sdram implementation to libfile Ahmad Fatoum
2024-04-30 18:06 ` [PATCH 2/3] bootm: allow disabling uImage support Ahmad Fatoum
2024-04-30 18:06 ` [PATCH 3/3] uimage: have TIMESTMAP depend on UIMAGE Ahmad Fatoum
2024-05-03 7:02 ` [PATCH 0/3] bootm: make uImage support optional Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240430180633.1581279-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox