diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-08-09 01:49:34 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-08-09 01:49:34 +0000 |
commit | 8b391b8e278cf3ca0d86e6e255f9c802a6e93fca (patch) | |
tree | 4418c7ce4f6c7aeb89ff099ff52dff13c24f6b65 /arch.h | |
parent | a9cbbacfd3effe26cfbcbc4a11225776f12fe582 (diff) | |
download | flashrom-8b391b8e278cf3ca0d86e6e255f9c802a6e93fca.tar.gz flashrom-8b391b8e278cf3ca0d86e6e255f9c802a6e93fca.tar.bz2 flashrom-8b391b8e278cf3ca0d86e6e255f9c802a6e93fca.zip |
ichspi.c: refactor filling and reading the fdata/spid registers
- add ich_fill_data to fill the chipset registers from an array
- add ich_read_data to copy the data from the chipset register into an array
- replace the existing code with calls to those functions
- minor cosmetic changes
Corresponding to flashrom svn r1409.
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 'arch.h')
0 files changed, 0 insertions, 0 deletions