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 --- spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spi.c') diff --git a/spi.c b/spi.c index b31a6b8..8a7b79f 100644 --- a/spi.c +++ b/spi.c @@ -126,7 +126,7 @@ static int probe_spi_rdid_generic(struct flashchip *flash, int bytes) model_id = (readarr[1] << 8) | readarr[2]; } - printf_debug("%s: id1 0x%x, id2 0x%x\n", __FUNCTION__, manuf_id, + printf_debug("%s: id1 0x%02x, id2 0x%02x\n", __FUNCTION__, manuf_id, model_id); if (manuf_id == flash->manufacture_id && model_id == flash->model_id) { -- cgit v1.1