4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 18:03:31 +08:00

[bsp/allwinner_tina] Remove the w25qxx driver code.

This commit is contained in:
armink 2019-05-29 14:15:56 +08:00
parent 4c780b8950
commit 615c5733f0

View File

@ -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