summaryrefslogtreecommitdiff
path: root/util/flash_and_burn/jedec.c
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-03-20 17:39:43 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-03-20 17:39:43 +0000
commit132f2c49003a647c3d063de0efe42a2ed64fc3b3 (patch)
tree5ddb4e85e4e8e84ebd40e7f4e69ff30ceeb5da52 /util/flash_and_burn/jedec.c
parente8274965d7c6a4b8d92076df74518cbdecf79090 (diff)
downloadcoreboot-132f2c49003a647c3d063de0efe42a2ed64fc3b3.tar.xz
rmove unused #define and function declaretion
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1459 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flash_and_burn/jedec.c')
-rw-r--r--util/flash_and_burn/jedec.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/util/flash_and_burn/jedec.c b/util/flash_and_burn/jedec.c
index d7f2bef1f6..bae1ddc439 100644
--- a/util/flash_and_burn/jedec.c
+++ b/util/flash_and_burn/jedec.c
@@ -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 */