Re: [PATCH 0/5] defconfigs: add MTD_SPI_NOR (dependency for M25P80)

From: Thierry Reding
Date: Thu Apr 17 2014 - 06:54:44 EST


On Thu, Apr 17, 2014 at 12:21:44AM -0700, Brian Norris wrote:
> Hi all,
>
> We are introducing a new SPI-NOR library/framework for MTD, to support various
> types of SPI-NOR flash controllers which require (or benefit from) intimate
> knowledge of the flash interface, rather than just the relatively dumb SPI
> interface. This library borrows much of the m25p80 driver for its abstraction
> and moves this code into a spi-nor module.

If this is a common library, then the more common approach to solve this
would be to have each driver that uses it to select MTD_SPI_NOR rather
than depend on it. That way you can drop this whole series to update the
default configurations.

Thierry

Attachment: pgpHcQttFxNt5.pgp
Description: PGP signature