summaryrefslogtreecommitdiffstats
path: root/82802ab.h
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-09-12 22:41:53 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-09-12 22:41:53 +0000
commiteaab50bb32edfe419eb472eacfdc82cbc3ecae8c (patch)
tree4ddad443cb40d4f090ba476bb48ddd47b98790a6 /82802ab.h
parentceec420c3db6c20c4b882e8bf3ad113db7fcd2de (diff)
downloadast2050-flashrom-eaab50bb32edfe419eb472eacfdc82cbc3ecae8c.zip
ast2050-flashrom-eaab50bb32edfe419eb472eacfdc82cbc3ecae8c.tar.gz
Changes from NIKI
Corresponding to coreboot v1 svn r873.
Diffstat (limited to '82802ab.h')
-rw-r--r--82802ab.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/82802ab.h b/82802ab.h
index 3649704..61e7f10 100644
--- a/82802ab.h
+++ b/82802ab.h
@@ -1,6 +1,9 @@
+#ifndef __82802AB_H__
+#define __82802AB_H__ 1
+
extern int probe_82802ab (struct flashchip * flash);
extern int erase_82802ab (struct flashchip * flash);
-extern int write_82802ab (struct flashchip * flash, char * buf);
+extern int write_82802ab (struct flashchip * flash, unsigned char * buf);
extern __inline__ void toggle_ready_82802ab (volatile char * dst)
{
@@ -42,3 +45,4 @@ extern __inline__ void protect_82802ab (volatile char * bios)
usleep(200);
}
+#endif /* !__82802AB_H__ */
OpenPOWER on IntegriCloud