1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 06:01:16 +02:00

Cosmetic fixes

Corresponding to flashrom svn r130 and coreboot v2 svn r2748.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
Uwe Hermann
2007-08-23 16:08:21 +00:00
parent fd37414dbb
commit ffec5f3ab7
20 changed files with 120 additions and 115 deletions

View File

@ -71,7 +71,7 @@ static __inline__ int write_lockbits_49lfxxxc(volatile uint8_t *bios, int size,
//printf("lockbits at address=0x%08lx is 0x%01x\n", (unsigned long)0xFFc00000 - size + address + 2, *(bios + address + 2) );
*(bios + address + 2) = bits;
return (0);
return 0;
}
static __inline__ int erase_sector_49lfxxxc(volatile uint8_t *bios,
@ -91,7 +91,7 @@ static __inline__ int erase_sector_49lfxxxc(volatile uint8_t *bios,
}
} while (!(status & STATUS_WSMS));
return (0);
return 0;
}
static __inline__ int write_sector_49lfxxxc(volatile uint8_t *bios,
@ -124,7 +124,7 @@ static __inline__ int write_sector_49lfxxxc(volatile uint8_t *bios,
} while (!(status & STATUS_WSMS));
}
return (0);
return 0;
}
int probe_49lfxxxc(struct flashchip *flash)
@ -164,7 +164,8 @@ int erase_49lfxxxc(struct flashchip *flash)
return (-1);
*bios = RESET;
return (0);
return 0;
}
int write_49lfxxxc(struct flashchip *flash, uint8_t *buf)
@ -189,5 +190,6 @@ int write_49lfxxxc(struct flashchip *flash, uint8_t *buf)
printf("\n");
*bios = RESET;
return (0);
return 0;
}