-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QSPIFBlockDevice: Handle CR3NV[1] quirk on S25FS512S
Cypress S25FS512S's SFDP table suggests checking bit-1 of the register 25FS512S as part of configuration detection. This bit should equal 1 in order for configuration to be correctly determined, but it is 0 on actual hardware. We add a quirk to work around this. Note: In Mbed OS, vendor-specific quirks are handled in block devices, and the SFDP class is agnostic of any quirks. So when the SFDP class requests the value of CR3NV, we let QSPIFBlockDevice's SFDP reader callback to set bit-1 of the output to 1 to allow the SFDP class to work correctly.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 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