[PATCH v2 2/2] mtd: spi-nor: Mask out fast read if not requested in DT

Jagan Teki jagan at amarulasolutions.com
Tue Aug 3 08:28:40 CEST 2021


On Fri, Jul 30, 2021 at 12:50 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> The DT bindings of "jedec,spi-nor" [1] defines "m25p,fast-read" property
> to indicate that "fast read" opcode can be used to read data from the
> chip instead of the usual "read" opcode.
>
> If this property is not present in DT, mask out fast read in
> spi_nor_init_params(). This change mirrors the same logic in
> spi_nor_info_init_params() in drivers/mtd/spi-nor/core.c in
> the Linux kernel v5.14-rc3.
>
> [1] Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml in the kernel tree
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot-spi/master


More information about the U-Boot mailing list