aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/flash/mx25lreg.h
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-01-19 20:04:44 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-01-19 20:04:44 +0000
commit2de9b4d3476945e773d19d3eb152ef0382f07963 (patch)
tree2e281b6cd14907b5d8d0a44c65e76343289496b0 /sys/dev/flash/mx25lreg.h
parentfa3c36d362f0dc53438461941578593872947b4c (diff)
downloadsrc-2de9b4d3476945e773d19d3eb152ef0382f07963.tar.gz
src-2de9b4d3476945e773d19d3eb152ef0382f07963.zip
zilinx/zy7_qspi: Add a qspi driver for Zynq platforms.
This is a qspi driver for the Xilinx Zynq-7000 chip. It could be useful for anyone wanting to boot a system from flash memory instead of SD cards. Submitted by: Thomas Skibo (thomasskibo@yahoo.com) Differential Revision: https://reviews.freebsd.org/D14698
Notes
Notes: svn path=/head/; revision=356895
Diffstat (limited to 'sys/dev/flash/mx25lreg.h')
-rw-r--r--sys/dev/flash/mx25lreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/flash/mx25lreg.h b/sys/dev/flash/mx25lreg.h
index 4dcb5379939c..62e0d4e750d8 100644
--- a/sys/dev/flash/mx25lreg.h
+++ b/sys/dev/flash/mx25lreg.h
@@ -42,6 +42,8 @@
#define CMD_WRITE_STATUS 0x01
#define CMD_READ 0x03
#define CMD_FAST_READ 0x0B
+#define CMD_READ_DUAL_IO 0xBB
+#define CMD_READ_QUAD_OUTPUT 0x6B
#define CMD_PAGE_PROGRAM 0x02
#define CMD_SECTOR_ERASE 0xD8
#define CMD_BULK_ERASE 0xC7