From 2b135165e3cdb40a1344700a5bdd63ee4ca5863a Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Fri, 25 Oct 2002 21:50:34 +0000 Subject: [PATCH] Added lock commands. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@219 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- include/device/flash/intel.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/device/flash/intel.h b/include/device/flash/intel.h index 5c159627..8a924190 100644 --- a/include/device/flash/intel.h +++ b/include/device/flash/intel.h @@ -54,6 +54,10 @@ #define CFI_CMD_INTEL_BLOCK_ERASE 0x20 /* 28FxxxJ3A, 28FxxxK3, 28FxxxK18 */ #define CFI_CMD_INTEL_SUSPEND 0xB0 /* 28FxxxJ3A, 28FxxxK3, 28FxxxK18 */ #define CFI_CMD_INTEL_RESUME 0xD0 /* 28FxxxJ3A, 28FxxxK3, 28FxxxK18 */ +#define CFI_CMD_INTEL_LOCK_SETUP 0x60 /* 28FxxxJ3A, 28FxxxK3, 28FxxxK18 */ +#define CFI_CMD_INTEL_LOCK_BLOCK 0x01 /* 28FxxxJ3A, 28FxxxK3, 28FxxxK18 */ +#define CFI_CMD_INTEL_UNLOCK_BLOCK 0xD0 /* 28FxxxJ3A - unlocks all blocks, 28FFxxxK3, 28FxxxK18 */ +#define CFI_CMD_INTEL_LOCK_DOWN_BLOCK 0x2F /* 28FxxxK3, 28FxxxK18 */ /* Intel flash device ID codes for 28FxxxJ3A - see Table 5. in [1] */