Re: [PATCH master] mtd: nand: reinstate raw NAND IS_ENABLED(CONFIG_MTD_WRITE) checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux