Changeset 1522 for trunk/w39.c


Ignore:
Timestamp:
Apr 15, 2012, 3:16:32 PM (3 years ago)
Author:
uwe
Message:

Add support for for the Atmel AT49F040 chip.

Chip features an optional permanent boot block write protection.

Signed-off-by: David Borg <borg.db@…>
Signed-off-by: Stefan Tauner <stefan.tauner@…>
Acked-by: Uwe Hermann <uwe@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/w39.c

    r1474 r1522  
    279279        return 0;
    280280}
     281
     282int printlock_at49f(struct flashctx *flash)
     283{
     284        uint8_t lock = w39_idmode_readb(flash, 0x00002);
     285        msg_cdbg("Hardware bootblock lockout is %sactive.\n",
     286                 (lock & 0x01) ? "" : "not ");
     287        return 0;
     288}
Note: See TracChangeset for help on using the changeset viewer.