commit | 8b391b8e278cf3ca0d86e6e255f9c802a6e93fca | [log] [tgz] |
---|---|---|
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | Tue Aug 09 01:49:34 2011 +0000 |
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | Tue Aug 09 01:49:34 2011 +0000 |
tree | 4418c7ce4f6c7aeb89ff099ff52dff13c24f6b65 | |
parent | a9cbbacfd3effe26cfbcbc4a11225776f12fe582 [diff] |
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>