summaryrefslogtreecommitdiffstats
path: root/w39.c
diff options
context:
space:
mode:
Diffstat (limited to 'w39.c')
-rw-r--r--w39.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/w39.c b/w39.c
index e6dc8de..5f0c347 100644
--- a/w39.c
+++ b/w39.c
@@ -278,3 +278,11 @@ int unlock_w39v080fa(struct flashctx *flash)
return 0;
}
+
+int printlock_at49f(struct flashctx *flash)
+{
+ uint8_t lock = w39_idmode_readb(flash, 0x00002);
+ msg_cdbg("Hardware bootblock lockout is %sactive.\n",
+ (lock & 0x01) ? "" : "not ");
+ return 0;
+}
OpenPOWER on IntegriCloud