From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH master] mtd: nand: reinstate raw NAND IS_ENABLED(CONFIG_MTD_WRITE) checks
Date: Wed, 29 May 2024 08:09:45 +0200 [thread overview]
Message-ID: <171696298534.585474.10621437456509088228.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20240528115141.1961600-1-a.fatoum@pengutronix.de>
On Tue, 28 May 2024 13:51:41 +0200, Ahmad Fatoum wrote:
> Some barebox configurations like OMAP MLO require no MTD write support
> to chainload the bigger second stage barebox. As these configurations
> are often size limited by On-Chip SRAM, drivers are expected to guard
> write-related code behind CONFIG_MTD_WRITE. This got lost with the
> recent NAND sync leading to multiple kilobytes in increased code size.
>
> Reinstate the IS_ENABLED(CONFIG_MTD_WRITE) checks to counteract this
> somewhat. There's likely more opportunity to slim down nand_base as we
> are still above the original size, but this here is the lowest hanging
> fruit.
>
> [...]
Applied, thanks!
[1/1] mtd: nand: reinstate raw NAND IS_ENABLED(CONFIG_MTD_WRITE) checks
https://git.pengutronix.de/cgit/barebox/commit/?id=55cf43c442c2 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
prev parent reply other threads:[~2024-05-29 6:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 11:51 Ahmad Fatoum
2024-05-29 6:09 ` Sascha Hauer [this message]
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=171696298534.585474.10621437456509088228.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=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