Print the value of offset in hex. Hex values are easier to debug.
Signed-off-by: FENG Yu Ning fengyuning1984@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) {