[refactor][flash] delete unused include

This commit is contained in:
jzlv 2021-07-26 15:07:50 +08:00
parent 69f237b25e
commit 1d485a83af

View file

@ -24,9 +24,9 @@
#define __HAL_FLASH__H__
#include "drv_device.h"
#include "bl702_sflash.h"
#define FLASH_NOT_DETECT 0x10
#define FLASH_NOT_DETECT 0x10
#define BL_FLASH_XIP_BASE BL702_FLASH_XIP_BASE
int flash_init(void);
int flash_read_jedec_id(uint8_t *data);
@ -36,6 +36,4 @@ BL_Err_Type flash_write(uint32_t addr, uint8_t *data, uint32_t len);
BL_Err_Type flash_erase(uint32_t startaddr, uint32_t len);
BL_Err_Type flash_set_cache(uint8_t cont_read, uint8_t cache_enable, uint8_t cache_way_disable, uint32_t flash_offset);
#define BL_FLASH_XIP_BASE BL702_FLASH_XIP_BASE
#endif