summaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-08-13 22:10:41 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-08-13 22:10:41 +0000
commitdbac46c3efd6858212280c7ae6854bb0c9f93b7a (patch)
tree8188320a07f63b187c21f902ac238fe7a513225c /ichspi.c
parent20a36baf56afac4896c8abe5a94dbe974a25dbc9 (diff)
downloadflashrom-dbac46c3efd6858212280c7ae6854bb0c9f93b7a.tar.gz
flashrom-dbac46c3efd6858212280c7ae6854bb0c9f93b7a.tar.bz2
flashrom-dbac46c3efd6858212280c7ae6854bb0c9f93b7a.zip
Add a bunch of new/tested stuff and various small changes 19
Tested mainboards: OK: - ASUS P8H77-V LE http://www.flashrom.org/pipermail/flashrom/2013-June/011127.html - HP Pegatron IPMEL-AE (Evans-GL6) Reported by Idwer on IRC - MSI MS-7379 (G31M) http://paste.flashrom.org/view.php?id=1726 - MSI MS-7816 (H87-G43) http://www.flashrom.org/pipermail/flashrom/2013-July/011349.html - MSI MS-9830 (IM-945GSE-A, A9830IMS) http://paste.flashrom.org/view.php?id=1730 - Supermicro X8SAX http://paste.flashrom.org/view.php?id=1717 NOT OK: - Intel D2700MUD http://paste.flashrom.org/view.php?id=1723 - Intel DQ45CB http://www.flashrom.org/pipermail/flashrom/2013-August/011369.html Chipsets: - Add PCI ID for Intel's Coleto Creek. - Mark Intel H87 (0x8c4a) as OK. http://www.flashrom.org/pipermail/flashrom/2013-July/011349.html Miscellaneous: - ichspi: Fix printing address ranges if space is divided by FPB. - Tiny other stuff. Corresponding to flashrom svn r1709. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'ichspi.c')
-rw-r--r--ichspi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ichspi.c b/ichspi.c
index 4f6a1b1ad..6d1bd1a52 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -1210,7 +1210,7 @@ static int ich_hwseq_probe(struct flashctx *flash)
} else {
msg_cdbg("The flash address space (0x%06x - 0x%06x) is divided "
"at address 0x%06x in two partitions.\n",
- 0, size_high-1, boundary);
+ 0, total_size-1, boundary);
size_low = total_size - size_high;
erase_size_low = ich_hwseq_get_erase_block_size(0);
@@ -1224,7 +1224,7 @@ static int ich_hwseq_probe(struct flashctx *flash)
eraser->eraseblocks[1].size = erase_size_high;
eraser->eraseblocks[1].count = size_high / erase_size_high;
msg_cdbg("The second partition ranges from 0x%06x to 0x%06x.\n",
- boundary, size_high-1);
+ boundary, total_size-1);
msg_cdbg("In that range are %d erase blocks with %d B each.\n",
size_high / erase_size_high, erase_size_high);
}