Hi! On Tue, Feb 11, 2020 at 1:44 AM Luiz Angelo Daros de Luca <[email protected]> wrote: > I guess it is simply safer to reimplement the old interface using > spi-mem. It worked in the past > and it might work again. I'll give it a try. I'm thinking about > introducing a new DTS prop to optionally use it.
There's no need for this. If it's implemented we could simply use it on all chips and gain the increased flash reading speed. On memory-mapped flash reading, spi controller issues 0x0b fast-read instruction. for the sake of correctness in spi-mem we should check whether spi-mem-op matches 0x0b + 3-byte address + 1-byte dummy before executing the operation. You'll need to set m25p,fast-read for spi-nor code to generate this matching operation. Regards, Chuanhong Guo _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
