summaryrefslogtreecommitdiffstats
path: root/sst49lf040.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-08-23 16:08:21 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-08-23 16:08:21 +0000
commitffec5f3ab794167126c28e7253dbe9d7de676dc2 (patch)
tree1645417f11a24ea1a316a7959246f5c4af75e789 /sst49lf040.c
parentfd37414dbb1996f91b07b08826e637c29c455c37 (diff)
downloadast2050-flashrom-ffec5f3ab794167126c28e7253dbe9d7de676dc2.zip
ast2050-flashrom-ffec5f3ab794167126c28e7253dbe9d7de676dc2.tar.gz
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>
Diffstat (limited to 'sst49lf040.c')
-rw-r--r--sst49lf040.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sst49lf040.c b/sst49lf040.c
index 884895e..e5af545 100644
--- a/sst49lf040.c
+++ b/sst49lf040.c
@@ -24,6 +24,7 @@
* TODO: Consilidated to standard JEDEC code.
*
*/
+
#include <stdio.h>
#include "flash.h"
@@ -39,6 +40,7 @@ int erase_49lf040(struct flashchip *flash)
* for the 49lf040. Use sector-erase instead */
erase_sector_jedec(bios, i * page_size);
}
+
return 0;
}
@@ -67,5 +69,5 @@ int write_49lf040(struct flashchip *flash, uint8_t *buf)
}
printf("\n");
- return (0);
+ return 0;
}
OpenPOWER on IntegriCloud