[PATCH v9 03/16] mtd: spi-falcon: drop check of boot select

Langer, Thomas thomas.langer at intel.com
Wed Aug 9 07:02:16 PDT 2017



> -----Original Message-----
> From: linux-spi-owner at vger.kernel.org [mailto:linux-spi-
> owner at vger.kernel.org] On Behalf Of Mark Brown
> Sent: Wednesday, August 9, 2017 1:44 PM
> To: Hauke Mehrtens <hauke at hauke-m.de>
> Cc: ralf at linux-mips.org; linux-mips at linux-mips.org; linux-
> mtd at lists.infradead.org; linux-watchdog at vger.kernel.org;
> devicetree at vger.kernel.org; martin.blumenstingl at googlemail.com;
> john at phrozen.org; linux-spi at vger.kernel.org; Mehrtens, Hauke
> <hauke.mehrtens at intel.com>; robh at kernel.org; andy.shevchenko at gmail.com;
> p.zabel at pengutronix.de; kishon at ti.com; mark.rutland at arm.com
> Subject: Re: [PATCH v9 03/16] mtd: spi-falcon: drop check of boot select
> 
> On Wed, Aug 09, 2017 at 12:52:34AM +0200, Hauke Mehrtens wrote:
> 
> > Do not check which flash type the SoC was booted from before
> > using this driver. Assume that the device tree is correct and use this
> > driver when it was added to device tree. This also removes a build
> > dependency to the SoC code.
> 
> Why?  Is this assumption reliably true?

Yes. We only have one type of flash interface in the device tree, as they 
are connected to the shared EBU (External Bus Unit).




More information about the linux-mtd mailing list