From 1d485a83af20e52fe9bccbe0cc2639fdfea29f43 Mon Sep 17 00:00:00 2001 From: jzlv Date: Mon, 26 Jul 2021 15:07:50 +0800 Subject: [PATCH] [refactor][flash] delete unused include --- drivers/bl702_driver/hal_drv/inc/hal_flash.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/bl702_driver/hal_drv/inc/hal_flash.h b/drivers/bl702_driver/hal_drv/inc/hal_flash.h index a2b8bdf4..812f570c 100644 --- a/drivers/bl702_driver/hal_drv/inc/hal_flash.h +++ b/drivers/bl702_driver/hal_drv/inc/hal_flash.h @@ -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