1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 22:43:17 +02:00

Changes from NIKI

Corresponding to coreboot v1 svn r873.
This commit is contained in:
Ronald G. Minnich
2003-09-12 22:41:53 +00:00
parent ceec420c3d
commit eaab50bb32
22 changed files with 622 additions and 82 deletions

View File

@ -1,6 +1,9 @@
#ifndef __JEDEC_H__
#define __JEDEC_H__ 1
extern int probe_jedec (struct flashchip * flash);
extern int erase_jedec (struct flashchip * flash);
extern int write_jedec (struct flashchip * flash, char * buf);
extern int write_jedec (struct flashchip * flash, unsigned char * buf);
extern __inline__ void toggle_ready_jedec (volatile char * dst)
{
@ -59,3 +62,5 @@ extern __inline__ void write_page_jedec (volatile char * bios, char * src, volat
usleep(100);
toggle_ready_jedec(dst-1);
}
#endif /* !__JEDEC_H__ */