Am Fri, 23 Feb 2018 09:40:54 +0100 schrieb Rafał Miłecki <zaj...@gmail.com>:
> On 22 February 2018 at 20:13, Christian Beier <dontm...@freeshell.org> wrote: > > From: Christian Beier <c...@shoutrlabs.com> > > > > SPI fast flash read only is supported on devices using 3-byte-addressing. > > As chips bigger than 16MB use 4-byte-addressing, reading fails with > > -EOPNOTSUPP. > > > > This commit sets the fast flash read callback spi->master->spi_flash_read > > to NULL for chips that use 4-byte-addressing. > > > > Fixes https://bugs.openwrt.org/index.php?do=details&task_id=1376. > > > > Signed-off-by: Christian Beier <c...@shoutrlabs.com> > > Can you send this patch to the MTD mailing list, please? The patch fixes/works around something added by OpenWRT, so the MTD mailing list probably isn't the right place? I am referring to https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/ar71xx/patches-4.9/461-spi-ath79-add-fast-flash-read.patch which added in support for spi_flash_read() in the first place. That code is not present in mainline Linux AFAICT. > > Why adding it to the ar71xx target only? Mainly because mentioned 461-spi-ath79-add-fast-flash-read.patch exists in the ar71xx subdir.
Description: Digitale Signatur von OpenPGP
_______________________________________________ Lede-dev mailing list Ledefirstname.lastname@example.org http://lists.infradead.org/mailman/listinfo/lede-dev