diff options
Diffstat (limited to 'jedec.h')
-rw-r--r-- | jedec.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,10 +1,13 @@ #ifndef __JEDEC_H__ #define __JEDEC_H__ 1 +int write_byte_program_jedec(volatile unsigned char *bios, unsigned char *src, + volatile unsigned char *dst); extern int probe_jedec(struct flashchip *flash); extern int erase_chip_jedec(struct flashchip *flash); extern int write_jedec(struct flashchip *flash, unsigned char *buf); extern int erase_sector_jedec(volatile unsigned char *bios, unsigned int page); +extern int erase_block_jedec(volatile unsigned char *bios, unsigned int page); extern int write_sector_jedec(volatile unsigned char *bios, unsigned char *src, volatile unsigned char *dst, unsigned int page_size); |