Browse Source

[bsp/allwinner_tina] Remove the w25qxx driver code.

armink 6 years ago
parent
commit
615c5733f0
1 changed files with 0 additions and 10 deletions
  1. 0 10
      bsp/allwinner_tina/drivers/spi/drv_spi_flash.c

+ 0 - 10
bsp/allwinner_tina/drivers/spi/drv_spi_flash.c

@@ -63,16 +63,6 @@ int rt_hw_spi_flash_with_sfud_init(void)
 }
 INIT_PREV_EXPORT(rt_hw_spi_flash_with_sfud_init);
 
-#elif defined(RT_USING_W25QXX)
-#include "spi_flash_w25qxx.h"
-
-int rt_hw_spi_flash_init(void)
-{
-    DEBUG_PRINTF("%s -> %d\n", __FUNCTION__, __LINE__);
-    return w25qxx_init(SPI_FLASH_CHIP, SPI_FLASH_DEVICE_NAME);
-}
-INIT_DEVICE_EXPORT(rt_hw_spi_flash_init);
-
 #endif
 
 #endif