From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] common: fastboot: make CONFIG_FASTBOOT_SPARSE=y the default
Date: Thu, 9 Jul 2026 15:10:06 +0200 [thread overview]
Message-ID: <20260709131008.3299405-1-a.fatoum@pengutronix.de> (raw)
Back in 2018, sparse support was made optional as "[s]parse support
is not always desired" without further elaboration.
Arguably the majority of users would benefit from sparse support enabled,
so flip the Kconfig default to make it opt-out instead.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
@Sascha, do you recall what reasons would there be to disable sparse
support? As I can't think of any besides binary size, I chose not to
include a migration guide entry about the default changing.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
common/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/Kconfig b/common/Kconfig
index f7122d89c6e2..85df7f7daec6 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1478,6 +1478,7 @@ config FASTBOOT_SPARSE
bool
select IMAGE_SPARSE
prompt "Enable Fastboot sparse image support"
+ default y
help
Sparse images are a way for the fastboot protocol to write
images that are bigger than the available memory. If unsure,
--
2.47.3
next reply other threads:[~2026-07-09 13:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 13:10 Ahmad Fatoum [this message]
2026-07-10 21:33 ` 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=20260709131008.3299405-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