[PATCH 10/10] mtd: spi-nor: aspeed: optimize read mode
Marek Vasut
marek.vasut at gmail.com
Thu Apr 6 12:28:44 PDT 2017
On 04/06/2017 06:56 PM, Cédric Le Goater wrote:
> This is only for SPI controllers as U-Boot should have done it already
> for the FMC controller using DMAs.
>
> The algo is based on the one found in the OpenPOWER pflash tool. It
> 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.
>
> It can be deactivated at boot time with the kernel parameter :
Something tells me this is likely gonna be pretty flaky and might lead
to unreliable configurations. The hardware manufacturer should be able
to determine the limits of the hardware and those should be put into DT
at manufacturing time IMO.
--
Best regards,
Marek Vasut
More information about the linux-mtd
mailing list