浏览代码

[bsp/allwinner_tina] Remove the w25qxx driver code.

armink 6 年之前
父节点
当前提交
615c5733f0
共有 1 个文件被更改,包括 0 次插入10 次删除
  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