summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2004-09-28 20:32:17 +0000
committerRonald G. Minnich <rminnich@gmail.com>2004-09-28 20:32:17 +0000
commit9ffaf0b42308d26cfc7bf2711ea1c662c3093e0d (patch)
tree431da407f8ee90d1d32482b69c7605be5e32d673
parent6a96741279730b815c64e4304ba1150db91742b1 (diff)
downloadast2050-flashrom-9ffaf0b42308d26cfc7bf2711ea1c662c3093e0d.zip
ast2050-flashrom-9ffaf0b42308d26cfc7bf2711ea1c662c3093e0d.tar.gz
Use hex print in id1, id2
Corresponding to flashrom svn r24 and coreboot v2 svn r1650.
-rw-r--r--mx29f002.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mx29f002.c b/mx29f002.c
index 2e69173..b281528 100644
--- a/mx29f002.c
+++ b/mx29f002.c
@@ -46,7 +46,7 @@ int probe_29f002(struct flashchip *flash)
myusec_delay(10);
- printf("%s: id1 %d, id2 %d\n", __FUNCTION__, id1, id2);
+ printf("%s: id1 0x%x, id2 0x%x\n", __FUNCTION__, id1, id2);
if (id1 == flash->manufacture_id && id2 == flash->model_id)
return 1;
OpenPOWER on IntegriCloud