summaryrefslogtreecommitdiff
path: root/w29ee011.c
diff options
context:
space:
mode:
authorstuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-01-25 23:52:45 +0000
committerstuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-01-25 23:52:45 +0000
commitbf092975b4d05a6e668270be3ef5c546f01a4e0a (patch)
treea41dd813b366abe249924b0054f1caadd0b48173 /w29ee011.c
parent1f87daf0ef92ed104f7b529874c74a2f4fbf2fbc (diff)
downloadflashrom-bf092975b4d05a6e668270be3ef5c546f01a4e0a.tar.gz
Original v2 revision: 3895
flashrom: Beautify flash chip ID verbose printout a little, always use %02x. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@390 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'w29ee011.c')
-rw-r--r--w29ee011.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/w29ee011.c b/w29ee011.c
index d54b038..fa3aa7c 100644
--- a/w29ee011.c
+++ b/w29ee011.c
@@ -62,7 +62,7 @@ int probe_w29ee011(struct flashchip *flash)
*(volatile uint8_t *)(bios + 0x5555) = 0xF0;
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;