Skip to content

Commit

Permalink
docs: mtd: Update spi nor reference driver
Browse files Browse the repository at this point in the history
The reference driver no longer exists since commit 50f1242 ("mtd:
fsl-quadspi: Remove the driver as it was replaced by spi-fsl-qspi.c").

Update reference to spi-fsl-qspi.c driver.

Signed-off-by: John Garry <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
John Garry authored and Jonathan Corbet committed Sep 6, 2019
1 parent f145579 commit e62be10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/driver-api/mtd/spi-nor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Part III - How can drivers use the framework?

The main API is spi_nor_scan(). Before you call the hook, a driver should
initialize the necessary fields for spi_nor{}. Please see
drivers/mtd/spi-nor/spi-nor.c for detail. Please also refer to fsl-quadspi.c
drivers/mtd/spi-nor/spi-nor.c for detail. Please also refer to spi-fsl-qspi.c
when you want to write a new driver for a SPI NOR controller.
Another API is spi_nor_restore(), this is used to restore the status of SPI
flash chip such as addressing mode. Call it whenever detach the driver from
Expand Down

0 comments on commit e62be10

Please sign in to comment.