summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarmink <[email protected]>2019-05-29 14:15:56 +0800
committerarmink <[email protected]>2019-05-29 14:15:56 +0800
commit615c5733f0a09fd9ea95eab0c26b367aad9c8576 (patch)
treec106364024e1d07c398b6b5a66f86cf88834777a
parent4c780b89504c425165f3df0b80e52e9ee86e1f41 (diff)
[bsp/allwinner_tina] Remove the w25qxx driver code.
-rw-r--r--bsp/allwinner_tina/drivers/spi/drv_spi_flash.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/bsp/allwinner_tina/drivers/spi/drv_spi_flash.c b/bsp/allwinner_tina/drivers/spi/drv_spi_flash.c
index e507859928..7aecc5411d 100644
--- a/bsp/allwinner_tina/drivers/spi/drv_spi_flash.c
+++ b/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 \ No newline at end of file