From 8c6c68e92d6b4c8aa5e2fcc784ed52da40845acc Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 13 Oct 2019 02:05:03 +0200 Subject: net refactor; rename cmd -> type --- code/fe310/eos/spi_def.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'code/fe310/eos/spi_def.h') diff --git a/code/fe310/eos/spi_def.h b/code/fe310/eos/spi_def.h index 44d3030..0c90b6d 100644 --- a/code/fe310/eos/spi_def.h +++ b/code/fe310/eos/spi_def.h @@ -1,6 +1,3 @@ -#define SPI_SIZE_BUF 1500 -#define SPI_SIZE_BUFQ 2 - #define SPI_MODE0 0x00 #define SPI_MODE1 0x01 #define SPI_MODE2 0x02 @@ -10,19 +7,3 @@ #define SPI_SIZE_CHUNK 4 #define SPI_SIZE_WM 2 -#define SPI_PIN_RTS 20 -#define SPI_PIN_CTS 22 -#define SPI_PIN_CS 10 -#define SPI_IDX_SS 3 - -#define SPI_FLAG_RDY 0x01 -#define SPI_FLAG_RST 0x02 -#define SPI_FLAG_RTS 0x04 -#define SPI_FLAG_CTS 0x08 -#define SPI_FLAG_INIT 0x10 -#define SPI_FLAG_ONEW 0x20 - -/* asm */ -#define SPI_BUFQ_OFF_IDXR 0 -#define SPI_BUFQ_OFF_IDXW 1 -#define SPI_BUFQ_OFF_ARRAY 4 -- cgit v1.2.3