On Thu, 29 Nov 2018 00:07:43 +0100
Miquel Raynal <[email protected]> wrote:

> MTD must be enabled when there is a SPI NOR flash.

Not sure this is required, as the SF layer is mostly independent from
the MTD layer, except for the sf_mtd.c portion. It's probably safer to
only enable CONFIG_MTD when CONFIG_SPI_FLASH_MTD is enabled.

> Also enable it when CONFIG_CMD_SF is selected to do not
> break any build during later cleanup.
> 
> Signed-off-by: Miquel Raynal <[email protected]>

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to