move SPIRead to rom.h
This commit is contained in:
parent
8bc2e8aa19
commit
8e11e895f5
|
@ -149,4 +149,7 @@ void srand(unsigned int);
|
|||
|
||||
void uart_div_modify(int no, unsigned int freq);
|
||||
|
||||
/* Returns 0 on success, 1 on failure */
|
||||
uint8_t SPIRead(uint32_t src_addr, uint32_t *des_addr, uint32_t size);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -86,8 +86,6 @@ typedef struct
|
|||
uint32_t segment_size;
|
||||
} ICACHE_STORE_TYPEDEF_ATTR SPIFlashInfo;
|
||||
|
||||
SpiFlashOpResult SPIRead(uint32_t src_addr, uint32_t *des_addr, uint32_t size);
|
||||
|
||||
uint32_t flash_detect_size_byte(void);
|
||||
uint32_t flash_safe_get_size_byte(void);
|
||||
uint16_t flash_safe_get_sec_num(void);
|
||||
|
|
Loading…
Reference in New Issue