[U-Boot] [PATCH v5 04/26] mtd: ensure MTD is compiled when there is a NOR flash

Tom Rini trini at konsulko.com
Thu Dec 5 03:51:21 CET 2019


On Thu, Oct 03, 2019 at 07:50:06PM +0200, Miquel Raynal wrote:

> CONFIG_MTD must be enabled when there is a NOR flash selected.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Reviewed-by: Boris Brezillon <boris.brezillon at bootlin.com>

This is not applied.  On deeper inspection of the overall changes, there
are a number of cases and parts of NOR access that do not require the
MTD subsystem.  At the end of the series CONFIG_MTD is not entirely and
wholly only a gating symbol but also grabs mtdcore.o / mtd_uboot.o and
so causes size growth without functional change in some boards.
Thanks!

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


More information about the U-Boot mailing list