summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/soc/spi_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/soc/spi_priv.h')
-rw-r--r--fw/fe310/eos/soc/spi_priv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fw/fe310/eos/soc/spi_priv.h b/fw/fe310/eos/soc/spi_priv.h
new file mode 100644
index 0000000..72c2dae
--- /dev/null
+++ b/fw/fe310/eos/soc/spi_priv.h
@@ -0,0 +1,8 @@
+#include <stdint.h>
+
+#define SPI_CSID_NONE 1
+#define SPI_CSPIN_NONE 0xff
+
+/* DO NOT TOUCH THEESE */
+#define SPI_SIZE_CHUNK 4
+#define SPI_SIZE_WM 2