From: Tom Rini Date: Fri, 22 Feb 2019 13:39:52 -0500 Subject: [U-Boot] [RFC PATCH 1/1] spi: Kconfig: change dependency order In-Reply-To: <20190130181703.5596-2-oskari@lemmela.net> References: <20190130181703.5596-1-oskari@lemmela.net> <20190130181703.5596-2-oskari@lemmela.net> Message-ID: <20190222183952.GZ12379@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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: