Author: stefanct
Date: Thu Jul  7 06:10:57 2011
New Revision: 1365
URL: http://flashrom.org/trac/flashrom/changeset/1365

Log:
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.

Signed-off-by: Stefan Tauner <[email protected]>
Acked-by: David Hendricks <[email protected]>

Modified:
   trunk/ichspi.c

Modified: trunk/ichspi.c
==============================================================================
--- trunk/ichspi.c      Mon Jul  4 09:27:17 2011        (r1364)
+++ trunk/ichspi.c      Thu Jul  7 06:10:57 2011        (r1365)
@@ -1288,6 +1288,8 @@
                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));

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to