summaryrefslogtreecommitdiffstats
path: root/jedec.h
diff options
context:
space:
mode:
Diffstat (limited to 'jedec.h')
-rw-r--r--jedec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/jedec.h b/jedec.h
index 756605e..2a9f977 100644
--- a/jedec.h
+++ b/jedec.h
@@ -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);
OpenPOWER on IntegriCloud