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 <[email protected]>
Acked-by: Peter Stuge <[email protected]>



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);


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to