summaryrefslogtreecommitdiffstats
path: root/chipset_enable.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-06-11 09:53:09 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-06-11 09:53:09 +0000
commit0c1ec450f951ee56f20fce44f56c141b1348e4cd (patch)
treea445760b12bc21c1b9dede9a30e6b72f36404a59 /chipset_enable.c
parent6add09424a8d8178497022c524a17606aa3dec23 (diff)
downloadast2050-flashrom-0c1ec450f951ee56f20fce44f56c141b1348e4cd.zip
ast2050-flashrom-0c1ec450f951ee56f20fce44f56c141b1348e4cd.tar.gz
ichspi.c: improve macros for SSFS and SSFC bits
- introduce offset macros and use them to (re)define the existing mask macros - fix masks of SSFC_COP, SSFC_DBC, SSFC_SCF (were single-bit masks erroneously) - add comments - rename SSFS_CDS to SSFS_FDONE (abbr. used in datasheet; not in SSFS but HSFS) - use those for refactoring and magic number elemination. following patch uses them for pretty printing. Corresponding to flashrom svn r1328. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'chipset_enable.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud