diff options
Diffstat (limited to 'chip/g/spi_controller.c')
-rw-r--r-- | chip/g/spi_controller.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chip/g/spi_controller.c b/chip/g/spi_controller.c index 4f7a5ee512..a96745cf7f 100644 --- a/chip/g/spi_controller.c +++ b/chip/g/spi_controller.c @@ -8,6 +8,7 @@ #include "hooks.h" #include "registers.h" #include "spi.h" +#include "spi_controller.h" #include "task.h" #include "timer.h" #include "util.h" @@ -16,9 +17,6 @@ #include "signing.h" #endif -/* Not defined in the hardware register spec, the RX and TX buffers are 128B. */ -#define SPI_BUF_SIZE 0x80 - /* This timeout should allow a full buffer transaction at the lowest SPI speed * by using the largest uint8_t clock divider of 256 (~235kHz). */ #define SPI_TRANSACTION_TIMEOUT_USEC (5 * MSEC) |