summaryrefslogtreecommitdiffstats
path: root/jedec.h
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2004-09-30 16:37:01 +0000
committerRonald G. Minnich <rminnich@gmail.com>2004-09-30 16:37:01 +0000
commit1f4d653d8cb34ad17de722eef45bc9db9bbb1aa3 (patch)
tree41b598f0e40964f48d3a66944954b452d37496da /jedec.h
parent9ffaf0b42308d26cfc7bf2711ea1c662c3093e0d (diff)
downloadast2050-flashrom-1f4d653d8cb34ad17de722eef45bc9db9bbb1aa3.zip
ast2050-flashrom-1f4d653d8cb34ad17de722eef45bc9db9bbb1aa3.tar.gz
Support for sst firmware hub
Corresponding to flashrom svn r25 and coreboot v2 svn r1651.
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