Commit 9ad2857c authored by Martin Kurbanov's avatar Martin Kurbanov Committed by Miquel Raynal
Browse files

mtd: spinand: otp: add helpers functions



The global functions spinand_otp_read() and spinand_otp_write() have
been introduced. Since most SPI-NAND flashes read/write OTP in the same
way, let's define global functions to avoid code duplication.

Signed-off-by: default avatarMartin Kurbanov <mmkurbanov@salutedevices.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent e278b8c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment