diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2003-02-28 17:21:38 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2003-02-28 17:21:38 +0000 |
commit | cb7d42f79e8ebb5e3a406f246b69a7a0acae4d86 (patch) | |
tree | 8b97e52b0701f641a3566e0448b699ce912e46a7 /m29f400bt.c | |
parent | 926c9b3dc2f9378219bb14ce697d41cca8bab1b0 (diff) | |
download | flashrom-cb7d42f79e8ebb5e3a406f246b69a7a0acae4d86.zip flashrom-cb7d42f79e8ebb5e3a406f246b69a7a0acae4d86.tar.gz |
Made the ids always print in hex less verbose verify step
Corresponding to coreboot v1 svn r752.
Diffstat (limited to 'm29f400bt.c')
-rw-r--r-- | m29f400bt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/m29f400bt.c b/m29f400bt.c index 2011ceb..73f9213 100644 --- a/m29f400bt.c +++ b/m29f400bt.c @@ -46,8 +46,10 @@ int probe_m29f400bt (struct flashchip * flash) *(volatile char *) (bios + 0xAAA) = 0xF0; myusec_delay(10); - - printf(__FUNCTION__ " id1 %x, id2 %x\n", id1, id2); + + printf("%s: id1 0x%x, id2 0x%x\n", __FUNCTION__, id1, id2); + + if (id1 == flash->manufacture_id && id2 == flash->model_id) return 1; |