From f864ae1cacddedec37e31897d2e6e6ef3fbf6c96 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Thu, 7 Jul 2011 04:10:57 +0000 Subject: 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 Acked-by: David Hendricks --- ichspi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ichspi.c') diff --git a/ichspi.c b/ichspi.c index 19e52d2..99c4613 100644 --- a/ichspi.c +++ b/ichspi.c @@ -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)); -- cgit v1.1