From: Wolfgang Denk Date: Wed, 05 Dec 2018 13:09:53 +0100 Subject: [U-Boot] [PATCH v3 06/28] mtd: ensure MTD/the raw NAND core are compiled when there is a NAND flash In-Reply-To: <20181204235714.11805-7-miquel.raynal@bootlin.com> References: <20181204235714.11805-1-miquel.raynal@bootlin.com> <20181204235714.11805-7-miquel.raynal@bootlin.com> Message-ID: <20181205120953.2E7A5242268@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Miquel Raynal, In message <20181204235714.11805-7-miquel.raynal@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 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.