From 615c5733f0a09fd9ea95eab0c26b367aad9c8576 Mon Sep 17 00:00:00 2001 From: armink Date: Wed, 29 May 2019 14:15:56 +0800 Subject: [PATCH] [bsp/allwinner_tina] Remove the w25qxx driver code. --- bsp/allwinner_tina/drivers/spi/drv_spi_flash.c | 10 ---------- 1 file changed, 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 -- GitLab