diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2003-09-12 22:41:53 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2003-09-12 22:41:53 +0000 |
commit | eaab50bb32edfe419eb472eacfdc82cbc3ecae8c (patch) | |
tree | 4ddad443cb40d4f090ba476bb48ddd47b98790a6 /jedec.c | |
parent | ceec420c3db6c20c4b882e8bf3ad113db7fcd2de (diff) | |
download | ast2050-flashrom-eaab50bb32edfe419eb472eacfdc82cbc3ecae8c.zip ast2050-flashrom-eaab50bb32edfe419eb472eacfdc82cbc3ecae8c.tar.gz |
Changes from NIKI
Corresponding to coreboot v1 svn r873.
Diffstat (limited to 'jedec.c')
-rw-r--r-- | jedec.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -24,6 +24,7 @@ * $Id$ */ +#include <stdio.h> #include "flash.h" #include "jedec.h" @@ -68,9 +69,11 @@ int erase_jedec (struct flashchip * flash) myusec_delay(10); toggle_ready_jedec(bios); + + return(0); } -int write_jedec (struct flashchip * flash, char * buf) +int write_jedec (struct flashchip * flash, unsigned char * buf) { int i; int total_size = flash->total_size *1024, page_size = flash->page_size; @@ -90,4 +93,6 @@ int write_jedec (struct flashchip * flash, char * buf) } printf("\n"); protect_jedec (bios); + + return(0); } |