diff options
author | Ollie Lho <ollie@sis.com.tw> | 2004-03-20 17:39:43 +0000 |
---|---|---|
committer | Ollie Lho <ollie@sis.com.tw> | 2004-03-20 17:39:43 +0000 |
commit | 3a3dea72604bc59bf44eeaa23b06fc21a7093bbc (patch) | |
tree | 9fd7861688575fa5d3010d48bd978162458d2565 /jedec.c | |
parent | f51a766f89a3d37ef4f6e4898621b91c8912e566 (diff) | |
download | ast2050-flashrom-3a3dea72604bc59bf44eeaa23b06fc21a7093bbc.zip ast2050-flashrom-3a3dea72604bc59bf44eeaa23b06fc21a7093bbc.tar.gz |
Remove unused #define and function declaration
Corresponding to flashrom svn r17 and coreboot v2 svn r1459.
Diffstat (limited to 'jedec.c')
-rw-r--r-- | jedec.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -141,15 +141,16 @@ void write_page_jedec(volatile char *bios, char *src, volatile char *dst, int write_sector_jedec(volatile char *bios, unsigned char *src, - volatile unsigned char *dst, unsigned int page_size) + volatile unsigned char *dst, + unsigned int page_size) { int i; volatile char *Temp; for (i = 0; i < page_size; i++) { if (*dst != 0xff) { - printf("FATAL: dst %p not erased (val 0x%x\n", dst, - *dst); + printf("FATAL: dst %p not erased (val 0x%x)\n", + dst, *dst); return (-1); } /* transfer data from source to destination */ |