[U-Boot] [RFC PATCH 1/1] spi: Kconfig: change dependency order
Tom Rini
trini at konsulko.com
Fri Feb 22 18:39:52 UTC 2019
On Wed, Jan 30, 2019 at 08:17:03PM +0200, Oskari Lemmela wrote:
> SPI Kconfig logic is changed to reverse dependencies.
> Dependencies are not needed to be defined in the defconfig.
>
> Signed-off-by: Oskari Lemmela <oskari at lemmela.net>
> ---
> drivers/mtd/spi/Kconfig | 28 ++++++++++++------
> drivers/spi/Kconfig | 63 ++++++++++++++++++++++++++++++++++++-----
> 2 files changed, 75 insertions(+), 16 deletions(-)
I think, conceptually, this takes things in the wrong direction. The
general order is "Enable DM for $subsystem, convert a driver", "Enable
DM on all drivers in $subsystem". I think SPI is at, or nearly now at,
the point where DM_SPI/DM_SPI_xxx go away / become SPI / are selected
by SPI/etc.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190222/9fc30140/attachment.sig>
More information about the U-Boot
mailing list