[PATCH linux dev-4.10 6/6] mtd: spi-nor: aspeed: optimize read mode
Benjamin Herrenschmidt
benh at au1.ibm.com
Mon Mar 27 21:36:46 AEDT 2017
On Fri, 2017-03-24 at 15:44 +0100, Cédric Le Goater wrote:
> Only for SPI controllers as U-Boot should have done it already for
> the
> FMC controller using DMAs.
>
> The algo first reads a golden buffer at low speed and then performs
> reads with different clocks and delay cycles settings to find the
> fastest configuration for the chip.
>
> Based on the pflash tool.
>
> Signed-off-by: Cédric Le Goater <clg at kaod.org>
> ---
>
> TODO: may be add a chicken switch ?
A module parameter (which can also be passed as a kernel command line
arg) to disable it, yes.
Cheers,
Ben.
More information about the openbmc
mailing list