summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/board.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-04-08 04:03:03 +0200
committerUros Majstorovic <majstor@majstor.org>2021-04-08 04:03:03 +0200
commit5c4ad4969514b82285ef37922f7acf61600c70de (patch)
tree8ff857d9b3432eff30e4e485343a608c02e833c5 /fw/fe310/eos/board.h
parent66e53b7e54878e2161f5c0dab6f90aebd9a1d97a (diff)
reintrodiced spi_dev
Diffstat (limited to 'fw/fe310/eos/board.h')
-rw-r--r--fw/fe310/eos/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fw/fe310/eos/board.h b/fw/fe310/eos/board.h
index 98741da..e663f62 100644
--- a/fw/fe310/eos/board.h
+++ b/fw/fe310/eos/board.h
@@ -13,6 +13,8 @@
#define SPI_CSPIN_SDC SPI_CSPIN_NONE
#define SPI_CSPIN_CAM 23
+#define SPI_IOF_MASK_CS (((uint32_t)1 << IOF_SPI1_SS0) | ((uint32_t)1 << IOF_SPI1_SS2) | ((uint32_t)1 << IOF_SPI1_SS3))
+
#define NET_PIN_RTS 20
#define NET_PIN_CTS 22