summaryrefslogtreecommitdiffstats
path: root/mx29f002.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-01-25 23:52:45 +0000
committerPeter Stuge <peter@stuge.se>2009-01-25 23:52:45 +0000
commit5cafc33831ddbc92a3b59c49e2c61ac87f8a948e (patch)
treea41dd813b366abe249924b0054f1caadd0b48173 /mx29f002.c
parent9371dc3cb13a5382ddeb8b98ce2d3eca6a50d0ef (diff)
downloadast2050-flashrom-5cafc33831ddbc92a3b59c49e2c61ac87f8a948e.zip
ast2050-flashrom-5cafc33831ddbc92a3b59c49e2c61ac87f8a948e.tar.gz
Beautify flash chip ID verbose printout a little, always use %02x
Corresponding to flashrom svn r390 and coreboot v2 svn r3895. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'mx29f002.c')
-rw-r--r--mx29f002.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mx29f002.c b/mx29f002.c
index 7de4502..30adab1 100644
--- a/mx29f002.c
+++ b/mx29f002.c
@@ -38,7 +38,7 @@ int probe_29f002(struct flashchip *flash)
myusec_delay(10);
- printf_debug("%s: id1 0x%x, id2 0x%x\n", __FUNCTION__, id1, id2);
+ printf_debug("%s: id1 0x%02x, id2 0x%02x\n", __FUNCTION__, id1, id2);
if (id1 == flash->manufacture_id && id2 == flash->model_id)
return 1;
OpenPOWER on IntegriCloud