[U-Boot] [PATCH v3 13/28] mtd: ensure MTD is compiled when ENV_IS_IN_FLASH is selected

Wolfgang Denk
2018-12-05T12:06:10Z

Dear Miquel,

In message <20181204235714.11805-14-miquel.raynal@bootlin.com> you wrote:
> MTD support must be enabled when the environment is in NOR.

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

Environment in NOR must not, I repeat: must not ever depend on MTD!

For more than 19 years we have been using environment in NOR flash
without the need for MTD support, which makes a lot of sense
especially on smaller systems where resources are low and MTD is an
expensive, but not really needed feature.

It is not acceptable to create a dependency that costs so much.

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
Very ugly or very beautiful women should be flattered on their
understanding, and mediocre ones on their beauty.
-- Philip Earl of Chesterfield