diff options
author | Andy Yan <[email protected]> | 2017-08-28 09:58:29 +0800 |
---|---|---|
committer | Cyrille Pitchen <[email protected]> | 2017-10-10 18:34:29 +0200 |
commit | e27072851bf7d706c592fc528549b52023b17a09 (patch) | |
tree | 4f8550ad024bc011aebe17777bd5ac69858cea8e /lib/mpi/mpi-bit.c | |
parent | 70597eec673bad7c43b56ea23b666a951522aad1 (diff) |
mtd: spi-nor: add a quad_enable callback in struct flash_info
Some manufacturers may use different bit to set QE on different
memories.
The GD25Q256 from GigaDevice is an example, which uses S6(bit 6
of the Status Register-1) to set QE, which is different with
other supported memories from GigaDevice that use S9(bit 1 of
the Status Register-2). This makes it is impossible to select
the quad enable method by distinguishing the MFR. This patch
introduce a quad_enable function which can be set per memory
in the flash_info list table.
Signed-off-by: Andy Yan <[email protected]>
Signed-off-by: Cyrille Pitchen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions