forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mtd: spi-nor: add support for TB bit in control register
Some flashes like the Macronix MX25U3232F has the TB bit in the control register and not in the status register. Unfortunately, this means that we now have to read two registers and pass its contents to various functions. It also means that these functions have to be renamed, because they are all ending in _sr() but they don't exclusivly operate on the status register anymore. Signed-off-by: Michael Walle <michael@walle.cc>
- Loading branch information
Showing
3 changed files
with
73 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters