mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
ichspi.c: do not print PBR[3] for ICH7 because it does not exist
Intel document 307013 (ICH7 datasheet) section 21.1.9 does only define PBR[0] (at SPIBAR + 60h) to PBR[2] (SPIBAR + 68h). SPIBAR + 6Ch and following are not defined, but we were printing them as PBR[3] anyway. i could not find any references to PBR[3] in documentation of other related chips (NM10, atom e6xx) either, hence kill it. Corresponding to flashrom svn r1381. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
parent
d8334dbc4b
commit
122dd126df
2
ichspi.c
2
ichspi.c
@ -1263,7 +1263,7 @@ int ich_init_spi(struct pci_dev *dev, uint32_t base, void *rcrb,
|
|||||||
mmio_readl(ich_spibar + 0x58));
|
mmio_readl(ich_spibar + 0x58));
|
||||||
msg_pdbg("0x5c: 0x%08x (OPMENU+4)\n",
|
msg_pdbg("0x5c: 0x%08x (OPMENU+4)\n",
|
||||||
mmio_readl(ich_spibar + 0x5c));
|
mmio_readl(ich_spibar + 0x5c));
|
||||||
for (i = 0; i < 4; i++) {
|
for (i = 0; i < 3; i++) {
|
||||||
int offs;
|
int offs;
|
||||||
offs = 0x60 + (i * 4);
|
offs = 0x60 + (i * 4);
|
||||||
msg_pdbg("0x%02x: 0x%08x (PBR%d)\n", offs,
|
msg_pdbg("0x%02x: 0x%08x (PBR%d)\n", offs,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user