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
commit616f35c32aed329276a8d043ecfe3a3e4d8cb2d6 (patch)
tree4ddad443cb40d4f090ba476bb48ddd47b98790a6 /82802ab.h
parent24d0f7dbb597046482e06a8288c2c821c4b2f355 (diff)
downloadflashrom-616f35c32aed329276a8d043ecfe3a3e4d8cb2d6.zip
flashrom-616f35c32aed329276a8d043ecfe3a3e4d8cb2d6.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