diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-05-31 17:57:34 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-05-31 17:57:34 +0000 |
commit | 51f7ade5865ea9ef668b5d3afcb8784d991128ad (patch) | |
tree | 8b0f6db0abbbd38355b6ddf8feadb7b06a4e9bab /pcidev.c | |
parent | b371710d1cb3b01c4f87e8063d58b75cfc910d82 (diff) | |
download | flashrom-51f7ade5865ea9ef668b5d3afcb8784d991128ad.zip flashrom-51f7ade5865ea9ef668b5d3afcb8784d991128ad.tar.gz |
Add bus type annotation to struct flashchips
Right now, the annotation only differentiates between SPI and non-SPI. Anyone
who knows more about a specific flash chip should feel free to update it.
The existing flashbus variable was abused to denote the SPI controller type.
Use an aptly named variable for that purpose. Once this patch is merged,
the chipset/programmer init functions can set supported flash chip types
and flashrom can automatically select only matching probe/read/erase/write
functions. A side benefit of that will be the elimination of the Winbond
W29EE011 vs. AMIC A49LF040A conflict.
Corresponding to flashrom svn r556.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'pcidev.c')
0 files changed, 0 insertions, 0 deletions