rmove unused #define and function declaretion
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1459 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user