[coreboot] [flashrom] r480 - branches/stuge
svn at coreboot.org
svn at coreboot.org
Fri May 8 23:25:38 CEST 2009
Author: stuge
Date: 2009-05-08 23:25:37 +0200 (Fri, 08 May 2009)
New Revision: 480
Modified:
branches/stuge/82802ab.c
Log:
Block Lock register decode
Signed-off-by: Peter Stuge <peter at stuge.se>
Acked-by: Peter Stuge <peter at stuge.se>
Modified: branches/stuge/82802ab.c
===================================================================
--- branches/stuge/82802ab.c 2009-05-08 20:53:10 UTC (rev 479)
+++ branches/stuge/82802ab.c 2009-05-08 21:25:37 UTC (rev 480)
@@ -116,12 +116,9 @@
// clear status register
chip_writeb(0x50, bios);
- //printf("Erase at %p\n", bios);
- // clear write protect
- //printf("write protect is at %p\n", (wrprotect));
- //printf("write protect is 0x%x\n", *(wrprotect));
+ printf_debug("Erasing block at %p, block locking register at %p\n", bios, wrprotect);
chip_writeb(0, wrprotect);
- //printf("write protect is 0x%x\n", *(wrprotect));
+ printf_debug("AFTER unlock: 0x%02x\n", *wrprotect);
// now start it
chip_writeb(0x20, bios);
More information about the coreboot
mailing list