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:
2
jedec.c
2
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");
|
||||
|
Reference in New Issue
Block a user