[coreboot] [PATCH] flashrom: print hex in ich_spi_read_page
fengyuning1984 at gmail.com
fengyuning1984 at gmail.com
Thu May 7 19:02:31 CEST 2009
Print the value of offset in hex. Hex values are easier to debug.
Signed-off-by: FENG Yu Ning <fengyuning1984 at gmail.com>
Index: trunk/ichspi.c
===================================================================
--- trunk/ichspi.c (revision 472)
+++ trunk/ichspi.c (working copy)
@@ -628,7 +628,7 @@
uint32_t remaining = flash->page_size;
int a;
- printf_debug("ich_spi_read_page: offset=%d, number=%d, buf=%p\n",
+ printf_debug("ich_spi_read_page: offset=0x%07x, number=%d, buf=0x%p\n",
offset, page_size, buf);
for (a = 0; a < page_size; a += maxdata) {
More information about the coreboot
mailing list