move SPIRead to rom.h

This commit is contained in:
devsaurus 2016-04-28 21:26:55 +02:00
parent 8bc2e8aa19
commit 8e11e895f5
2 changed files with 3 additions and 2 deletions

View File

@ -149,4 +149,7 @@ void srand(unsigned int);
void uart_div_modify(int no, unsigned int freq); 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 #endif

View File

@ -86,8 +86,6 @@ typedef struct
uint32_t segment_size; uint32_t segment_size;
} ICACHE_STORE_TYPEDEF_ATTR SPIFlashInfo; } 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_detect_size_byte(void);
uint32_t flash_safe_get_size_byte(void); uint32_t flash_safe_get_size_byte(void);
uint16_t flash_safe_get_sec_num(void); uint16_t flash_safe_get_sec_num(void);