aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/flash
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2010-07-19 15:05:35 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2010-07-19 15:05:35 +0000
commitdddd00f6a49dbbe4061ad1d541726049760dd47c (patch)
treecc9338f35fc76f480e0873876807cc5025b3ab1c /sys/dev/flash
parent2cd5e41a9c48169de8bdc1493b55f39442074ab8 (diff)
Notes
Diffstat (limited to 'sys/dev/flash')
-rw-r--r--sys/dev/flash/mx25lreg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/flash/mx25lreg.h b/sys/dev/flash/mx25lreg.h
index 49808af603b61..7253dba623337 100644
--- a/sys/dev/flash/mx25lreg.h
+++ b/sys/dev/flash/mx25lreg.h
@@ -23,6 +23,8 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
#ifndef __MX25LREG_H__
@@ -41,6 +43,8 @@
#define CMD_PAGE_PROGRAM 0x02
#define CMD_SECTOR_ERASE 0xD8
#define CMD_BULK_ERASE 0xC7
+#define CMD_BLOCK_4K_ERASE 0x20
+#define CMD_BLOCK_32K_ERASE 0x52
/*
* Status register flags