1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 14:33:18 +02:00

Remove unused #define and function declaration

Corresponding to flashrom svn r17 and coreboot v2 svn r1459.
This commit is contained in:
Ollie Lho
2004-03-20 17:39:43 +00:00
parent f51a766f89
commit 3a3dea7260
7 changed files with 4 additions and 25 deletions

View File

@ -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 */