[U-Boot] [PATCH v3 06/28] mtd: ensure MTD/the raw NAND core are compiled when there is a NAND flash

Wolfgang Denk wd at denx.de
Wed Dec 5 12:09:53 UTC 2018


Dear Miquel Raynal,

In message <20181204235714.11805-7-miquel.raynal at bootlin.com> you wrote:
> Both symbols must be enabled when there is a raw NAND driver
> selected. Also enable them when CONFIG_CMD_NAND is selected to do not
> break any build during later cleanup.

Why would we need MTD for raw NAND support in U-Boot?
It is perfectly fine to access NAND based on addesses / offsets,
isn't it?  MTD creates just overhead which is not needed on some
systems, and which may not be acceptable due to size limitations on
other.

Naked-by: Wolfgang Denk <wd at denx.de>

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When all else fails, read the instructions.


More information about the U-Boot mailing list