diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-07-07 04:10:57 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-07-07 04:10:57 +0000 |
commit | f864ae1cacddedec37e31897d2e6e6ef3fbf6c96 (patch) | |
tree | c23012a8af0398315fc439ee0be3984aeef82486 /ichspi.c | |
parent | 83c52593b6d0c358cf0b103a23f450ddc3177cf2 (diff) | |
download | flashrom-f864ae1cacddedec37e31897d2e6e6ef3fbf6c96.zip flashrom-f864ae1cacddedec37e31897d2e6e6ef3fbf6c96.tar.gz |
ichspi.c: print FADDR in ich_init_spi
We print the address registers for ICH7 and VIA at init.
We should do so for ICH9 too.
Corresponding to flashrom svn r1365.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: David Hendricks <dhendrix@google.com>
Diffstat (limited to 'ichspi.c')
-rw-r--r-- | ichspi.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1288,6 +1288,8 @@ int ich_init_spi(struct pci_dev *dev, uint32_t base, void *rcrb, msg_pdbg("0x06: 0x%04x (HSFC)\n", tmp2); prettyprint_ich9_reg_hsfc(tmp2); + tmp = mmio_readl(ich_spibar + ICH9_REG_FADDR); + msg_pdbg("0x08: 0x%08x (FADDR)\n", tmp); tmp = mmio_readl(ich_spibar + ICH9_REG_FRAP); msg_pdbg("0x50: 0x%08x (FRAP)\n", tmp); msg_pdbg("BMWAG 0x%02x, ", ICH_BMWAG(tmp)); |