summaryrefslogtreecommitdiff
path: root/code/fe310/eos/spi_def.h
blob: 06f725161fbec1e9443ff23af6ee4764960ae264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#define SPI_MODE0               0x00
#define SPI_MODE1               0x01
#define SPI_MODE2               0x02
#define SPI_MODE3               0x03

/* DO NOT TOUCH THEESE */
#define SPI_SIZE_CHUNK          4
#define SPI_SIZE_WM             2

#define SPI_FLAG_XCHG           0x10

#define SPI_CSID_NONE           1