1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

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>
This commit is contained in:
Peter Stuge
2009-01-25 23:52:45 +00:00
parent 9371dc3cb1
commit 5cafc33831
13 changed files with 13 additions and 13 deletions

View File

@ -49,7 +49,7 @@ int probe_en29f512(struct flashchip *flash)
*(volatile uint8_t *)(bios + 0x2AA) = 0x55;
*(volatile uint8_t *)(bios + 0x555) = 0xF0;
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;