#ifndef __ASR_FLASH_H__ | |
#define __ASR_FLASH_H__ | |
void flash_getinfo(void *info); | |
void flash_read(unsigned int load_addr, unsigned int flash_addr, unsigned int len); | |
void flash_write(unsigned int mem_pa, unsigned int flash_entry_to, unsigned int mem_sz); | |
void flash_erase(unsigned int flash_entry_to, unsigned int mem_sz); | |
#endif |