From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angelo Dureghello Date: Sun, 27 May 2018 09:22:33 +0200 Subject: [U-Boot] [PATCH v2 1/2] drivers; add DM_NO_OF Kconfig option In-Reply-To: References: <20180503220117.GA1986@jerusalem> Message-ID: <20180527072233.GB17528@jerusalem> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Sat, May 26, 2018 at 04:18:57PM -0600, Simon Glass wrote: > Hi Angelo, > > On 3 May 2018 at 16:01, Angelo Dureghello wrote: > > To be able to build spi driver with DM support, a new config > > option has been introduced (DM_NO_OF) since m68k architecture > > does not support fdt. > > > > --- > > Changes from v1: > > - split into 2 patches > > > > Signed-off-by: Angelo Dureghello > > --- > > arch/Kconfig | 1 + > > drivers/core/Kconfig | 4 ++++ > > drivers/spi/spi-uclass.c | 12 +++++++----- > > 3 files changed, 12 insertions(+), 5 deletions(-) > > > > Is it possible to use SPL_OF_PLATDATA instead? > I have seen that setting, but my understanding is that SPL_OF_PLATDATA ws made for a different purpose, and also, i tried to use it, but cannot select it from menuconfig. > How come m68k cannot use device tree? > There was never any devicetree implementation, probably becouse it is missing on Linux too. > Regards, > Simon Regards, Angelo