diff options
author | Andy Yan <andy.yan@rock-chips.com> | 2017-08-28 09:58:29 +0800 |
---|---|---|
committer | Cyrille Pitchen <cyrille.pitchen@wedev4u.fr> | 2017-10-10 18:34:29 +0200 |
commit | e27072851bf7d706c592fc528549b52023b17a09 (patch) | |
tree | 4f8550ad024bc011aebe17777bd5ac69858cea8e /tools/perf/scripts/python/call-graph-from-sql.py | |
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 <andy.yan@rock-chips.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions