RE: [PATCH v9 03/16] mtd: spi-falcon: drop check of boot select
From: Langer, Thomas <hidden>
Date: 2017-08-09 14:02:16
Also in:
linux-mips, linux-spi, linux-watchdog
-----Original Message----- From: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org [mailto:linux-spi- owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org] On Behalf Of Mark Brown Sent: Wednesday, August 9, 2017 1:44 PM To: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org> Cc: ralf-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org; linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org; linux- mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org; john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org; linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Mehrtens, Hauke [off-list ref]; robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org; andy.shevchenko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org; kishon-l0cyMroinI0@public.gmane.org; mark.rutland-5wv7dgnIgG8@public.gmane.org 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:quoted
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). -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html