From 5cafc33831ddbc92a3b59c49e2c61ac87f8a948e Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Sun, 25 Jan 2009 23:52:45 +0000 Subject: 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 Acked-by: Peter Stuge --- w39v040c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'w39v040c.c') diff --git a/w39v040c.c b/w39v040c.c index ce02596..37549d7 100644 --- a/w39v040c.c +++ b/w39v040c.c @@ -44,7 +44,7 @@ int probe_w39v040c(struct flashchip *flash) *(volatile uint8_t *)(bios + 0x5555) = 0xF0; myusec_delay(40); - printf_debug("%s: id1 0x%x, id2 0x%x", __func__, id1, id2); + printf_debug("%s: id1 0x%02x, id2 0x%02x", __func__, id1, id2); if (!oddparity(id1)) printf_debug(", id1 parity violation"); printf_debug("\n"); -- cgit v1.1