mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-06 04:48:44 +00:00
[refactor][flash] delete unused include
This commit is contained in:
parent
69f237b25e
commit
1d485a83af
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue