summaryrefslogtreecommitdiffstats
path: root/jedec.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
commit573a30dc5f6d1467f3384f66320a25c19cbf3118 (patch)
treea41dd813b366abe249924b0054f1caadd0b48173 /jedec.c
parent2cd767ce3aee41aafa6ab742292531ef1a85e5f7 (diff)
downloadflashrom-573a30dc5f6d1467f3384f66320a25c19cbf3118.zip
flashrom-573a30dc5f6d1467f3384f66320a25c19cbf3118.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 'jedec.c')
-rw-r--r--jedec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jedec.c b/jedec.c
index 58a750a..9dbaa53 100644
--- a/jedec.c
+++ b/jedec.c
@@ -130,7 +130,7 @@ int probe_jedec(struct flashchip *flash)
*(volatile uint8_t *)(bios + 0x5555) = 0xF0;
myusec_delay(40);
- printf_debug("%s: id1 0x%x, id2 0x%x", __FUNCTION__, largeid1, largeid2);
+ printf_debug("%s: id1 0x%02x, id2 0x%02x", __FUNCTION__, largeid1, largeid2);
if (!oddparity(id1))
printf_debug(", id1 parity violation");
printf_debug("\n");
OpenPOWER on IntegriCloud