File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
board/emsk/drivers/ip/designware/spi Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ static void dw_spi_0_isr(void *ptr);
7575
7676DEV_SPI dw_spi_0 ; /*!< designware spi object */
7777DW_SPI_CTRL dw_spi_0_ctrl ; /*!< designware spi 0 ctrl */
78- #if HW_VERSION < 22
78+ #if HW_VERSION < 23
7979static uint32_t dw_spi_0_cs_status ;
8080#endif
8181
@@ -94,7 +94,7 @@ static int32_t dw_spi_0_control (uint32_t ctrl_cmd, void *param)
9494{
9595 int32_t ercd ;
9696 ercd = dw_spi_control (& dw_spi_0 , ctrl_cmd , param );
97- #if HW_VERSION >= 22
97+ #if HW_VERSION >= 23
9898 if (ctrl_cmd == SPI_CMD_MST_SEL_DEV ) {
9999 _arc_write_uncached_32 ((void * )(PERIPHERAL_BASE + REL_REGBASE_SPI_MST_CS_CTRL ), 1 << ((uint32_t )param ));
100100 } else if (ctrl_cmd == SPI_CMD_MST_DSEL_DEV ) {
You can’t perform that action at this time.
0 commit comments