Changeset 480 for branches


Ignore:
Timestamp:
05/08/09 23:25:37 (3 years ago)
Author:
stuge
Message:

Block Lock register decode

Signed-off-by: Peter Stuge <peter@…>
Acked-by: Peter Stuge <peter@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stuge/82802ab.c

    r420 r480  
    117117        // clear status register 
    118118        chip_writeb(0x50, bios); 
    119         //printf("Erase at %p\n", bios); 
    120         // clear write protect 
    121         //printf("write protect is at %p\n", (wrprotect)); 
    122         //printf("write protect is 0x%x\n", *(wrprotect)); 
     119        printf_debug("Erasing block at %p, block locking register at %p\n", bios, wrprotect); 
    123120        chip_writeb(0, wrprotect); 
    124         //printf("write protect is 0x%x\n", *(wrprotect)); 
     121        printf_debug("AFTER unlock: 0x%02x\n", *wrprotect); 
    125122 
    126123        // now start it 
Note: See TracChangeset for help on using the changeset viewer.