diff options
author | Peter Stuge <peter@stuge.se> | 2009-01-25 23:52:45 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-25 23:52:45 +0000 |
commit | 5cafc33831ddbc92a3b59c49e2c61ac87f8a948e (patch) | |
tree | a41dd813b366abe249924b0054f1caadd0b48173 /spi.c | |
parent | 9371dc3cb13a5382ddeb8b98ce2d3eca6a50d0ef (diff) | |
download | ast2050-flashrom-5cafc33831ddbc92a3b59c49e2c61ac87f8a948e.zip ast2050-flashrom-5cafc33831ddbc92a3b59c49e2c61ac87f8a948e.tar.gz |
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>
Diffstat (limited to 'spi.c')
-rw-r--r-- | spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |