summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2021-07-30 15:20:17 +0800
committerJagan Teki <[email protected]>2021-08-03 11:56:25 +0530
commitd008190920fbea4cd52b185e5191e6e0e5ae1f56 (patch)
tree68cd0410dcd6e3d3868ae31955cd9a95687d9b6e /doc/develop
parent87e7219f9c6a30709ddf97b602983386f1b4cccf (diff)
mtd: spi-nor: Mask out fast read if not requested in DT
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 <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions